diff options
Diffstat (limited to 'pjsip-apps/src/pjsystest/gui.h')
-rw-r--r-- | pjsip-apps/src/pjsystest/gui.h | 28 |
1 files changed, 23 insertions, 5 deletions
diff --git a/pjsip-apps/src/pjsystest/gui.h b/pjsip-apps/src/pjsystest/gui.h index 0ae1ba36..5f056fc0 100644 --- a/pjsip-apps/src/pjsystest/gui.h +++ b/pjsip-apps/src/pjsystest/gui.h @@ -1,3 +1,21 @@ +/* $Id$ */ +/* + * Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com) + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ #ifndef __GUI_H__ #define __GUI_H__ @@ -33,19 +51,19 @@ enum gui_key }; /* Initialize GUI with the menus and stuff */ -PJ_DECL(pj_status_t) gui_init(gui_menu *menu); +pj_status_t gui_init(gui_menu *menu); /* Run GUI main loop */ -PJ_DECL(pj_status_t) gui_start(gui_menu *menu); +pj_status_t gui_start(gui_menu *menu); /* Signal GUI mainloop to stop */ -PJ_DECL(void) gui_destroy(void); +void gui_destroy(void); /* AUX: display messagebox */ -PJ_DECL(enum gui_key) gui_msgbox(const char *title, const char *message, enum gui_flag flag); +enum gui_key gui_msgbox(const char *title, const char *message, enum gui_flag flag); /* AUX: sleep */ -PJ_DECL(void) gui_sleep(unsigned sec); +void gui_sleep(unsigned sec); PJ_END_DECL |