Mercurial > pidgin.yaz
comparison pidgin/gtklog.h @ 15504:b53b783846a8
merge of '06e221e7ba1b9991d934d6c69e7d29d821d2e567'
and '9a6dfa7a96d203a51ba160ccf94bb19e2e557161'
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Sat, 03 Feb 2007 08:13:34 +0000 |
parents | d75099d2567e |
children | 760ef6d78d2d |
comparison
equal
deleted
inserted
replaced
15503:704d40050800 | 15504:b53b783846a8 |
---|---|
20 * | 20 * |
21 * You should have received a copy of the GNU General Public License | 21 * You should have received a copy of the GNU General Public License |
22 * along with this program; if not, write to the Free Software | 22 * along with this program; if not, write to the Free Software |
23 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 23 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
24 */ | 24 */ |
25 #ifndef _GAIM_GTKLOG_H_ | 25 #ifndef _PIDGINLOG_H_ |
26 #define _GAIM_GTKLOG_H_ | 26 #define _PIDGINLOG_H_ |
27 | 27 |
28 #include "gtkgaim.h" | 28 #include "gtkgaim.h" |
29 #include "log.h" | 29 #include "log.h" |
30 | 30 |
31 #include "account.h" | 31 #include "account.h" |
32 | 32 |
33 typedef struct _GaimGtkLogViewer GaimGtkLogViewer; | 33 typedef struct _PidginLogViewer PidginLogViewer; |
34 | 34 |
35 /** | 35 /** |
36 * A GTK+ Log Viewer. You can look at logs with it. | 36 * A GTK+ Log Viewer. You can look at logs with it. |
37 */ | 37 */ |
38 struct _GaimGtkLogViewer { | 38 struct _PidginLogViewer { |
39 GList *logs; /**< The list of logs viewed in this viewer */ | 39 GList *logs; /**< The list of logs viewed in this viewer */ |
40 | 40 |
41 GtkWidget *window; /**< The viewer's window */ | 41 GtkWidget *window; /**< The viewer's window */ |
42 GtkTreeStore *treestore; /**< The treestore containing said logs */ | 42 GtkTreeStore *treestore; /**< The treestore containing said logs */ |
43 GtkWidget *treeview; /**< The treeview representing said treestore */ | 43 GtkWidget *treeview; /**< The treeview representing said treestore */ |
49 GtkWidget *label; /**< The label at the top of the log viewer */ | 49 GtkWidget *label; /**< The label at the top of the log viewer */ |
50 }; | 50 }; |
51 | 51 |
52 | 52 |
53 | 53 |
54 void gaim_gtk_log_show(GaimLogType type, const char *screenname, GaimAccount *account); | 54 void pidgin_log_show(GaimLogType type, const char *screenname, GaimAccount *account); |
55 void gaim_gtk_log_show_contact(GaimContact *contact); | 55 void pidgin_log_show_contact(GaimContact *contact); |
56 | 56 |
57 void gaim_gtk_syslog_show(void); | 57 void pidgin_syslog_show(void); |
58 | 58 |
59 /**************************************************************************/ | 59 /**************************************************************************/ |
60 /** @name GTK+ Log Subsystem */ | 60 /** @name GTK+ Log Subsystem */ |
61 /**************************************************************************/ | 61 /**************************************************************************/ |
62 /*@{*/ | 62 /*@{*/ |
63 | 63 |
64 /** | 64 /** |
65 * Initializes the GTK+ log subsystem. | 65 * Initializes the GTK+ log subsystem. |
66 */ | 66 */ |
67 void gaim_gtk_log_init(void); | 67 void pidgin_log_init(void); |
68 | 68 |
69 /** | 69 /** |
70 * Returns the GTK+ log subsystem handle. | 70 * Returns the GTK+ log subsystem handle. |
71 * | 71 * |
72 * @return The GTK+ log subsystem handle. | 72 * @return The GTK+ log subsystem handle. |
73 */ | 73 */ |
74 void *gaim_gtk_log_get_handle(void); | 74 void *pidgin_log_get_handle(void); |
75 | 75 |
76 /** | 76 /** |
77 * Uninitializes the GTK+ log subsystem. | 77 * Uninitializes the GTK+ log subsystem. |
78 */ | 78 */ |
79 void gaim_gtk_log_uninit(void); | 79 void pidgin_log_uninit(void); |
80 | 80 |
81 /*@}*/ | 81 /*@}*/ |
82 | 82 |
83 #endif | 83 #endif |