-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathegi_page.h
32 lines (27 loc) · 1.21 KB
/
egi_page.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/*------------------------------------------------------------------
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2 as
published by the Free Software Foundation.
Midas Zhou
------------------------------------------------------------------*/
#ifndef __EGI_PAGE_H__
#define __EGI_PAGE_H__
#include <stdio.h>
#include "egi.h"
EGI_PAGE * egi_page_new(char *tag);
int egi_page_free(EGI_PAGE *page);
int egi_suspend_runner(EGI_PAGE *page, int runnerID);
int egi_resume_runner(EGI_PAGE *page, int runnerID);
int egi_runner_sigSuspend_handler(EGI_PAGE *page); /* for the PAGE runner */
int egi_page_addlist(EGI_PAGE *page, EGI_EBOX *ebox);
int egi_page_travlist(EGI_PAGE *page);
int egi_page_activate(EGI_PAGE *page);
int egi_page_refresh(EGI_PAGE *page);
int egi_page_start_runners(EGI_PAGE *page);
int egi_page_routine(EGI_PAGE *page);
int egi_homepage_routine(EGI_PAGE *page);
int egi_page_flag_needrefresh(EGI_PAGE *page);
int egi_page_needrefresh(EGI_PAGE *page);
EGI_EBOX *egi_page_pickbtn(EGI_PAGE *page, enum egi_ebox_type type,unsigned int id);
EGI_EBOX *egi_page_pickebox(EGI_PAGE *page, enum egi_ebox_type type, unsigned int id);
#endif