Go to the source code of this file.
Functions | |
void | toolbar_init (void) |
void | toolbar_disableUpdate () |
void | toolbar_enableUpdate () |
void | toolbar_setIconState (int iconID, int iconState) |
void | toolbar_synchronise (void) |
Copyright (C) 2007 iRex Technologies BV.
Definition in file toolbar.h.
void toolbar_disableUpdate | ( | ) |
Definition at line 87 of file toolbar.c.
00088 { 00089 CN_LOGPRINTF("entry"); 00090 00091 tbDisableUpdate(toolbarChannel, ER_CONTENT_LISTER_UA_ID); 00092 }
void toolbar_enableUpdate | ( | ) |
Definition at line 95 of file toolbar.c.
00096 { 00097 CN_LOGPRINTF("entry"); 00098 00099 tbEnableUpdate(toolbarChannel, ER_CONTENT_LISTER_UA_ID); 00100 }
void toolbar_init | ( | void | ) |
Definition at line 39 of file toolbar.c.
00040 { 00041 int returnValue; 00042 00043 CN_LOGPRINTF("entry"); 00044 00045 // create/init the channel to communicate with the toolbar service 00046 returnValue = erIpcStartClient(ER_TOOLBAR_CHANNEL, &toolbarChannel); 00047 00048 if (returnValue != 0) 00049 { 00050 CN_WARNPRINTF("erIpcStartClient returned %d", returnValue); 00051 return; 00052 } 00053 00054 toolbar_init_icons(); 00055 }
void toolbar_setIconState | ( | int | iconID, | |
int | iconState | |||
) |
Definition at line 103 of file toolbar.c.
00104 { 00105 CN_LOGPRINTF("entry: iconID [%d] iconState [%d]", iconID, iconState); 00106 00107 tbSetStatePlatformIcon(toolbarChannel, ER_CONNECT_UA_ID, 00108 iconID, iconState); 00109 }
void toolbar_synchronise | ( | void | ) |
Definition at line 111 of file toolbar.c.
00112 { 00113 CN_LOGPRINTF("entry"); 00114 00115 tbSynchronise(toolbarChannel, ER_CONNECT_UA_ID, ccCnToolbarSync); 00116 }