#include <liberipc/eripc.h>
#include <liberipc/eripcpagebar.h>
#include "ScribbleIPC.h"
#include "ScribbleLog.h"
Go to the source code of this file.
Functions | |
| void | pagebar_init () |
| void | pagebar_goto_page (int page) |
| void | pagebar_set_pagecount (int count) |
| void | pagebar_redraw () |
Variables | |
| static erClientChannel_t | erPagebarChannel |
Copyright (C) 2005-2008 iRex Technologies B.V. All rights reserved.
<File description>="">
Definition in file pagebar.c.
| void pagebar_goto_page | ( | int | page | ) |
Request from scribble to goto page
| page | - page to go to |
Definition at line 55 of file pagebar.c.
00056 { 00057 SB_PAGEBARPRINTF("entry %d\n", page); 00058 pbSetCurrentPage(erPagebarChannel, ER_SCRIBBLE_UA_ID, page); 00059 }
| void pagebar_init | ( | ) |
Open communication channel with pageBar deamon counts on the fact that pageBar is running
Definition at line 41 of file pagebar.c.
00042 { 00043 int iRet=-1; 00044 SB_PAGEBARPRINTF("entry\n"); 00045 iRet=erIpcStartClient(ER_PAGEBAR_CHANNEL, &erPagebarChannel); 00046 if (iRet != 0) 00047 { 00048 SB_ERRORPRINTF("erIpcStartClient returned %d\n", iRet); 00049 return; 00050 } 00051 pbReset(erPagebarChannel, ER_SCRIBBLE_UA_ID); 00052 }
| void pagebar_redraw | ( | ) |
Request from contentLister to redraw pagebar
| - |
Definition at line 69 of file pagebar.c.
00070 { 00071 SB_PAGEBARPRINTF("redraw\n"); 00072 pbRedraw(erPagebarChannel, ER_SCRIBBLE_UA_ID); 00073 }
| void pagebar_set_pagecount | ( | int | count | ) |
Request from browser to set number of pages
| count | - number of pages in current view |
Definition at line 62 of file pagebar.c.
00063 { 00064 SB_PAGEBARPRINTF("entry %d\n", count); 00065 pbSetPageCount(erPagebarChannel, ER_SCRIBBLE_UA_ID, count); 00066 }
erClientChannel_t erPagebarChannel [static] |
1.5.6