pidgin/pidginlog.h

changeset 39604
f39e54ed7bfa
parent 39603
98fd85e156e0
child 40242
220e34cb1479
equal deleted inserted replaced
39603:98fd85e156e0 39604:f39e54ed7bfa
31 31
32 #include "pidgin.h" 32 #include "pidgin.h"
33 #include "log.h" 33 #include "log.h"
34 34
35 #include "account.h" 35 #include "account.h"
36
37 typedef struct _PidginLogViewer PidginLogViewer;
38
39 /**
40 * PidginLogViewer:
41 * @logs: The list of logs viewed in this viewer
42 * @window: The viewer's window
43 * @treestore: The treestore containing said logs
44 * @treeview: The treeview representing said treestore
45 * @web_view: The webkit web view to display said logs
46 * @entry: The search entry, in which search terms are entered
47 * @flags: The most recently used log flags
48 * @search: The string currently being searched for
49 * @label: The label at the top of the log viewer
50 *
51 * A Pidgin Log Viewer. You can look at logs with it.
52 */
53 struct _PidginLogViewer {
54 GList *logs;
55
56 GtkWidget *window;
57 GtkTreeStore *treestore;
58 GtkWidget *treeview;
59 GtkWidget *web_view;
60 GtkWidget *entry;
61
62 PurpleLogReadFlags flags;
63 char *search;
64 GtkLabel *label;
65 };
66
67 36
68 G_BEGIN_DECLS 37 G_BEGIN_DECLS
69 38
70 void pidgin_log_show(PurpleLogType type, const char *buddyname, PurpleAccount *account); 39 void pidgin_log_show(PurpleLogType type, const char *buddyname, PurpleAccount *account);
71 void pidgin_log_show_contact(PurpleContact *contact); 40 void pidgin_log_show_contact(PurpleContact *contact);

mercurial