gtkdialogs.h

00001 
00024 #ifndef _PIDGINDIALOGS_H_
00025 #define _PIDGINDIALOGS_H_
00026 
00027 #include "pidgin.h"
00028 
00029 #include "account.h"
00030 #include "conversation.h"
00031 
00032 /* Functions in gtkdialogs.c (these should actually stay in this file) */
00033 void pidgin_dialogs_destroy_all(void);
00034 void pidgin_dialogs_about(void);
00035 void pidgin_dialogs_im(void);
00036 void pidgin_dialogs_im_with_user(PurpleAccount *, const char *);
00037 void pidgin_dialogs_info(void);
00038 void pidgin_dialogs_log(void);
00039 
00044 void pidgin_dialogs_alias_contact(PurpleContact *);
00045 
00046 void pidgin_dialogs_alias_buddy(PurpleBuddy *);
00047 void pidgin_dialogs_alias_chat(PurpleChat *);
00048 void pidgin_dialogs_remove_buddy(PurpleBuddy *);
00049 void pidgin_dialogs_remove_group(PurpleGroup *);
00050 void pidgin_dialogs_remove_chat(PurpleChat *);
00051 void pidgin_dialogs_remove_contact(PurpleContact *);
00052 void pidgin_dialogs_merge_groups(PurpleGroup *, const char *);
00053 
00054 /* Everything after this should probably be moved elsewhere */
00055 
00059 #define PIDGIN_DIALOG(x)    x = gtk_window_new(GTK_WINDOW_TOPLEVEL); \
00060             gtk_window_set_type_hint(GTK_WINDOW(x), GDK_WINDOW_TYPE_HINT_DIALOG)
00061 #define PIDGIN_WINDOW_ICONIFIED(x) (gdk_window_get_state(GTK_WIDGET(x)->window) & GDK_WINDOW_STATE_ICONIFIED)
00062 
00063 #endif /* _PIDGINDIALOGS_H_ */