powerMgr/src/toolbar.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void toolbar_init (void)
void toolbar_restore ()
void toolbar_clear (void)
void toolbar_setIconState (int iconID, int iconState)


Function Documentation

void toolbar_clear ( void   ) 

void toolbar_init ( void   ) 

Copyright (C) 2005-2008 iRex Technologies B.V. All rights reserved.

Definition at line 39 of file toolbar.c.

00040 {
00041     int returnValue;
00042 
00043     // create/init the channel to communicate with the toolbar service
00044     returnValue = erIpcStartClient(ER_TOOLBAR_CHANNEL, &toolbarChannel);
00045 
00046     if (returnValue != 0)
00047     {
00048         fprintf(stderr, "powerMgr toolbar_init(): erIpcStartClient returned %d\n", returnValue);
00049         return;
00050     }
00051 }

Here is the call graph for this function:

void toolbar_restore (  ) 

void toolbar_setIconState ( int  iconID,
int  iconState 
)

Definition at line 53 of file toolbar.c.

00054 {
00055     fprintf(stderr, "powerMgr toolbar_setIconState() entry: toolbarChannel [%p] iconID [%d] iconState [%d]\n", toolbarChannel, iconID, iconState);
00056     
00057     tbSetStatePlatformIcon(toolbarChannel, ER_POWERMGR_UA_ID, iconID, iconState);
00058 }

Here is the call graph for this function:


Generated on Sun Dec 14 17:14:21 2008 by  doxygen 1.5.6