settings/src/toolbar.c File Reference

setup application - E-reader settings application screen creation and handling More...

#include <glib.h>
#include <liberipc/eripc.h>
#include <liberipc/eripctoolbar.h>
#include "setupLog.h"
#include "toolbar.h"

Go to the source code of this file.

Functions

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

Variables

static erClientChannel_t toolbarChannel


Detailed Description

setup application - E-reader settings application screen creation and handling

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

Definition in file toolbar.c.


Function Documentation

void toolbar_init ( void   ) 

Definition at line 40 of file toolbar.c.

00041 {
00042     int returnValue;
00043 
00044     ST_LOGPRINTF("entry");
00045     
00046     // create/init the channel to communicate with the toolbar service
00047     returnValue = erIpcStartClient(ER_TOOLBAR_CHANNEL, &toolbarChannel);
00048 
00049     if (returnValue != 0)
00050     {
00051         ST_WARNPRINTF("erIpcStartClient returned %d", returnValue);
00052         return;
00053     }
00054 }

Here is the call graph for this function:

void toolbar_setIconState ( int  iconID,
int  iconState 
)

Definition at line 57 of file toolbar.c.

00058 {
00059     ST_LOGPRINTF("entry: iconID [%d] iconState [%d]", iconID, iconState);
00060     
00061     tbSetStatePlatformIcon(toolbarChannel, ER_SETUP_UA_ID, iconID, iconState);
00062 }

Here is the call graph for this function:


Variable Documentation

Definition at line 38 of file toolbar.c.


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