00001 /* 00002 * This file is part of connectionMgr. 00003 * 00004 * connectionMgr is free software: you can redistribute it and/or modify 00005 * it under the terms of the GNU General Public License as published by 00006 * the Free Software Foundation, either version 2 of the License, or 00007 * (at your option) any later version. 00008 * 00009 * connectionMgr is distributed in the hope that it will be useful, 00010 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00012 * GNU General Public License for more details. 00013 * 00014 * You should have received a copy of the GNU General Public License 00015 * along with this program. If not, see <http://www.gnu.org/licenses/>. 00016 */ 00017 00029 #ifndef _CONNECT_SCREEN_H_ 00030 #define _CONNECT_SCREEN_H_ 00031 00032 #include <gtk/gtk.h> 00033 #include <gdk/gdkkeysyms.h> 00034 #include <glib.h> 00035 00036 // these values correspond with the notebook page numbers 00037 typedef enum 00038 { 00039 connectScreenOptions_e=0, 00040 connectScreenProfiles_e, 00041 connectScreenUndef_e 00042 } connectScreen_t; 00043 00044 #ifdef __cplusplus 00045 extern "C" 00046 { 00047 #endif /* __cplusplus */ 00048 00049 GtkWidget* connect_screen_create(void); 00050 void connect_screen_set_text(void); 00051 void connect_screen_display(void); 00052 00053 void connect_set_toolbar(void); 00054 void connect_set_pagebar(void); 00055 void connect_goto_page(connectScreen_t newpage); 00056 gint connect_get_current_page (gint * pagecount); 00057 00058 gboolean on_connect_keypress(GdkEventKey* event); 00059 void on_connect_goto_page(gint newpage); 00060 void on_connect_icon_clicked(int iconID, int iconState); 00061 00062 #ifdef __cplusplus 00063 } 00064 #endif /* __cplusplus */ 00065 00066 #endif //_CONNECT_SCREEN_H_ 00067