| 33 #include "account.h" |
33 #include "account.h" |
| 34 |
34 |
| 35 typedef struct _PidginLogViewer PidginLogViewer; |
35 typedef struct _PidginLogViewer PidginLogViewer; |
| 36 |
36 |
| 37 /** |
37 /** |
| |
38 * PidginLogViewer: |
| |
39 * @logs: The list of logs viewed in this viewer |
| |
40 * @window: The viewer's window |
| |
41 * @treestore: The treestore containing said logs |
| |
42 * @treeview: The treeview representing said treestore |
| |
43 * @web_view: The webkit web view to display said logs |
| |
44 * @entry: The search entry, in which search terms are entered |
| |
45 * @flags: The most recently used log flags |
| |
46 * @search: The string currently being searched for |
| |
47 * @label: The label at the top of the log viewer |
| |
48 * |
| 38 * A GTK+ Log Viewer. You can look at logs with it. |
49 * A GTK+ Log Viewer. You can look at logs with it. |
| 39 */ |
50 */ |
| 40 struct _PidginLogViewer { |
51 struct _PidginLogViewer { |
| 41 GList *logs; /**< The list of logs viewed in this viewer */ |
52 GList *logs; |
| 42 |
53 |
| 43 GtkWidget *window; /**< The viewer's window */ |
54 GtkWidget *window; |
| 44 GtkTreeStore *treestore; /**< The treestore containing said logs */ |
55 GtkTreeStore *treestore; |
| 45 GtkWidget *treeview; /**< The treeview representing said treestore */ |
56 GtkWidget *treeview; |
| 46 GtkWidget *web_view; /**< The webkit web view to display said logs */ |
57 GtkWidget *web_view; |
| 47 GtkWidget *entry; /**< The search entry, in which search terms |
58 GtkWidget *entry; |
| 48 * are entered */ |
59 |
| 49 PurpleLogReadFlags flags; /**< The most recently used log flags */ |
60 PurpleLogReadFlags flags; |
| 50 char *search; /**< The string currently being searched for */ |
61 char *search; |
| 51 GtkWidget *label; /**< The label at the top of the log viewer */ |
62 GtkWidget *label; |
| 52 }; |
63 }; |
| 53 |
64 |
| 54 |
65 |
| 55 G_BEGIN_DECLS |
66 G_BEGIN_DECLS |
| 56 |
67 |
| 63 /** @name GTK+ Log Subsystem */ |
74 /** @name GTK+ Log Subsystem */ |
| 64 /**************************************************************************/ |
75 /**************************************************************************/ |
| 65 /*@{*/ |
76 /*@{*/ |
| 66 |
77 |
| 67 /** |
78 /** |
| |
79 * pidgin_log_init: |
| |
80 * |
| 68 * Initializes the GTK+ log subsystem. |
81 * Initializes the GTK+ log subsystem. |
| 69 */ |
82 */ |
| 70 void pidgin_log_init(void); |
83 void pidgin_log_init(void); |
| 71 |
84 |
| 72 /** |
85 /** |
| |
86 * pidgin_log_get_handle: |
| |
87 * |
| 73 * Returns the GTK+ log subsystem handle. |
88 * Returns the GTK+ log subsystem handle. |
| 74 * |
89 * |
| 75 * Returns: The GTK+ log subsystem handle. |
90 * Returns: The GTK+ log subsystem handle. |
| 76 */ |
91 */ |
| 77 void *pidgin_log_get_handle(void); |
92 void *pidgin_log_get_handle(void); |
| 78 |
93 |
| 79 /** |
94 /** |
| |
95 * pidgin_log_uninit: |
| |
96 * |
| 80 * Uninitializes the GTK+ log subsystem. |
97 * Uninitializes the GTK+ log subsystem. |
| 81 */ |
98 */ |
| 82 void pidgin_log_uninit(void); |
99 void pidgin_log_uninit(void); |
| 83 |
100 |
| 84 /*@}*/ |
101 /*@}*/ |