contentLister/src/pagebar.c File Reference

contentLister - pageBar deamon interaction with contentLister application More...

#include <liberipc/eripc.h>
#include <liberipc/eripcpagebar.h>
#include "contentListerLog.h"

Go to the source code of this file.

Functions

void pagebar_init ()
void pagebar_reset ()
void pagebar_goto_page (int page)
void pagebar_set_pagecount (int count)
void pagebar_redraw ()

Variables

static erClientChannel_t erPagebarChannel


Detailed Description

contentLister - pageBar deamon interaction with contentLister application

<File description>="">

Definition in file pagebar.c.


Function Documentation

void pagebar_goto_page ( int  page  ) 

Request from contentLister to goto page

Parameters:
page - page to go to
Returns:
-

Definition at line 55 of file pagebar.c.

00056 {
00057     CL_IPCPRINTF("entry %d", page);
00058     pbSetCurrentPage(erPagebarChannel, ER_CONTENT_LISTER_UA_ID, page);
00059 }

Here is the call graph for this function:

void pagebar_init (  ) 

Open communication channel with pageBar deamon counts on the fact that pageBar is running

Returns:
void

Definition at line 41 of file pagebar.c.

00042 {
00043     CL_IPCPRINTF("entry");
00044     erIpcStartClient(ER_PAGEBAR_CHANNEL, &erPagebarChannel);
00045 }

Here is the call graph for this function:

void pagebar_redraw (  ) 

Request from contentLister to redraw pagebar

Parameters:
- 
Returns:
-

Definition at line 70 of file pagebar.c.

00071 {
00072     CL_IPCPRINTF("redraw");
00073     pbRedraw(erPagebarChannel, ER_CONTENT_LISTER_UA_ID);
00074 }

Here is the call graph for this function:

void pagebar_reset (  ) 

Resets the internal pageBar variables to their defaults also tells the pageBar that the contentLister is now currentApp

Returns:
void

Definition at line 48 of file pagebar.c.

00049 {
00050     CL_IPCPRINTF("entry");
00051     pbReset(erPagebarChannel, ER_CONTENT_LISTER_UA_ID);
00052 }

Here is the call graph for this function:

void pagebar_set_pagecount ( int  count  ) 

Request from contentLister to set number of pages

Parameters:
count - number of pages in current view
Returns:
-

Definition at line 62 of file pagebar.c.

00063 {
00064     CL_IPCPRINTF("entry %d", count);
00065     pbSetPageCount(erPagebarChannel, ER_CONTENT_LISTER_UA_ID, count);
00066 
00067 }

Here is the call graph for this function:


Variable Documentation

Definition at line 38 of file pagebar.c.


Generated on Sun Dec 14 17:13:39 2008 by  doxygen 1.5.6