aboutsummaryrefslogtreecommitdiffstats
path: root/mail/message-list.h
diff options
context:
space:
mode:
authorArturo Espinosa <unammx@src.gnome.org>2000-01-25 16:43:24 +0800
committerArturo Espinosa <unammx@src.gnome.org>2000-01-25 16:43:24 +0800
commit670f57583d84d4c8f0195d3eefbef93920c6e9d9 (patch)
tree5a99fdf111ee22bd689c42b3f0c36c22a44a41fc /mail/message-list.h
parented7345eec736a39e3e37a4e76a0bdba7157270b7 (diff)
downloadgsoc2013-evolution-670f57583d84d4c8f0195d3eefbef93920c6e9d9.tar.gz
gsoc2013-evolution-670f57583d84d4c8f0195d3eefbef93920c6e9d9.tar.zst
gsoc2013-evolution-670f57583d84d4c8f0195d3eefbef93920c6e9d9.zip
More work
svn path=/trunk/; revision=1628
Diffstat (limited to 'mail/message-list.h')
-rw-r--r--mail/message-list.h60
1 files changed, 60 insertions, 0 deletions
diff --git a/mail/message-list.h b/mail/message-list.h
new file mode 100644
index 0000000000..44ba575a51
--- /dev/null
+++ b/mail/message-list.h
@@ -0,0 +1,60 @@
+#ifndef _MESSAGE_LIST_H_
+#define _MESSAGE_LIST_H_
+
+#include <bonobo/gnome-main.h>
+#include <bonobo/gnome-object.h>
+#include "camel/camel-folder.h"
+
+#define MESSAGE_LIST_TYPE (message_list_get_type ())
+#define MESSAGE_LIST(o) (GTK_CHECK_CAST ((o), MESSAGE_LIST_TYPE, MessageList))
+#define MESSAGE_LIST_CLASS(k) (GTK_CHECK_CLASS_CAST((k), MESSAGE_LIST_TYPE, MessageListClass))
+#define IS_MESSAGE_LIST(o) (GTK_CHECK_TYPE ((o), MESSAGE_LIST_TYPE))
+#define IS_MESSAGE_LIST_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), MESSAGE_LIST_TYPE))
+
+typedef struct _Renderer Renderer;
+
+enum {
+ COL_ONLINE_STATUS,
+ COL_MESSAGE_STATUS,
+ COL_PRIORITY,
+ COL_ATTACHMENT,
+ COL_FROM,
+ COL_SUBJECT,
+ COL_SENT,
+ COL_RECEIVE,
+ COL_TO,
+ COL_SIZE,
+
+ COL_LAST
+};
+
+typedef struct {
+ GnomeObject parent;
+
+ ETableModel *table_model;
+ ETableHeader *header_model;
+ ETableCol *table_cols [COL_LAST];
+
+ ECell *render_text;
+ ECell *render_online_status;
+ ECell *render_message_status;
+ ECell *render_priority;
+ ECell *render_attachment;
+
+ GtkWidget *etable;
+
+ CamelFolder *folder;
+ CamelFolderSummary *folder_summary;
+} MessageList;
+
+typedef struct {
+ GnomeObjectClass parent_class;
+} MessageListClass;
+
+GtkType message_list_get_type (void);
+GnomeObject *message_list_new (void);
+void message_list_set_folder (MessageList *message_list,
+ CamelFolder *camel_folder);
+GtkWidget *message_list_get_widget (MessageList *message_list);
+
+#endif /* _MESSAGE_LIST_H_ */