Changeset 2176 for trunk/jons-gtk-gui
- Timestamp:
- 07/25/00 17:21:31 (8 years ago)
- Location:
- trunk/jons-gtk-gui/src
- Files:
-
- 1 added
- 5 modified
-
licq_gtk.h (modified) (3 diffs)
-
main.cpp (modified) (1 diff)
-
main_window.cpp (modified) (1 diff)
-
Makefile.am (modified) (1 diff)
-
menu.cpp (modified) (1 diff)
-
plugin_window.cpp (added)
Legend:
- Unmodified
- Added
- Removed
-
trunk/jons-gtk-gui/src/licq_gtk.h
r2168 r2176 32 32 #include <gtk/gtk.h> 33 33 #include <fstream.h> 34 35 /* Definitions to be passed to the licq daemon */36 #define NAME "Jon's GTK+ GUI"37 #define PLUGIN_VERSION "0.10"38 #define STATUS "Running"39 #define USAGE "Usage: None yet"40 #define DESCRIPTION "GTK+ plugin for licq"41 34 42 35 /* Program used definitions */ … … 377 370 }; 378 371 372 struct plugin_window 373 { 374 GtkWidget *window; 375 GtkWidget *l_clist; 376 GtkWidget *a_clist; 377 }; 378 379 379 struct e_tag_data 380 380 { … … 635 635 636 636 637 /* Functions in plugin_window.cpp */ 638 extern void create_plugin_window(); 639 extern void plugin_close_callback(GtkWidget *, gpointer); 640 extern void plugin_enable_callback(GtkWidget *, gpointer); 641 extern void plugin_disable_callback(GtkWidget *, gpointer); 642 extern void plugin_unload_callback(GtkWidget *, gpointer); 643 extern void plugin_details_callback(GtkWidget *, gpointer); 644 extern void plugin_configure_callback(GtkWidget *, gpointer); 645 extern void plugin_load_callback(GtkWidget *, gpointer); 646 extern void plugin_refresh_callback(GtkWidget *, gpointer); 647 648 637 649 /* Functions in random_chat.cpp */ 638 650 extern void random_chat_search_window(); -
trunk/jons-gtk-gui/src/main.cpp
r2128 r2176 39 39 const char *LP_Name() 40 40 { 41 return NAME; 41 static const char name[] = "Jon's GTK+ GUI"; 42 return name; 42 43 } 43 44 44 45 const char *LP_Version() 45 46 { 46 return PLUGIN_VERSION; 47 static const char version[] = "0.10"; 48 return version; 47 49 } 48 50 49 51 const char *LP_Status() 50 52 { 51 return STATUS; 53 static const char status[] = "Running"; 54 return status; 52 55 } 53 56 54 57 const char *LP_Usage() 55 58 { 56 return USAGE; 59 static const char usage[] = "Usage: licq [ options ] -p jons-gtk-gui"; 60 return usage; 57 61 } 58 62 59 63 const char *LP_Description() 60 64 { 61 return DESCRIPTION; 65 static const char desc[] = "GTK+ plugin for licq"; 66 return desc; 67 } 68 69 const char *LP_ConfigFile() 70 { 71 return "licq_jons-gtk-gui.conf"; 62 72 } 63 73 -
trunk/jons-gtk-gui/src/main_window.cpp
r2167 r2176 31 31 void main_window_delete_event(GtkWidget *mainwindow, gpointer data) 32 32 { 33 icq_daemon->UnregisterPlugin(); 33 34 gtk_main_quit(); 34 35 } -
trunk/jons-gtk-gui/src/Makefile.am
r2128 r2176 29 29 option_window.cpp \ 30 30 pipe.cpp \ 31 plugin_window.cpp \ 31 32 random_chat.cpp \ 32 33 register_user.cpp \ -
trunk/jons-gtk-gui/src/menu.cpp
r2157 r2176 149 149 GTK_SIGNAL_FUNC(menu_security_users_window)); 150 150 151 item = menu_new_item(menu, "Plugin Manager", 152 GTK_SIGNAL_FUNC(create_plugin_window)); 153 151 154 item = menu_new_item(menu, "Network Log", 152 155 GTK_SIGNAL_FUNC(log_window_show));
