aboutsummaryrefslogtreecommitdiffstats
path: root/capplet/settings/anjal-mail-view.h
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@gnome.org>2010-03-02 20:30:06 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-03-14 09:49:49 +0800
commit5069df6878424605df09517e3b097c0bb47be746 (patch)
treeef630480d8ccf4342e5e06c21af3b031afc27880 /capplet/settings/anjal-mail-view.h
parent8e0c294e15ca3f765e330b1d6ae892b768453fa9 (diff)
downloadgsoc2013-evolution-5069df6878424605df09517e3b097c0bb47be746.tar
gsoc2013-evolution-5069df6878424605df09517e3b097c0bb47be746.tar.gz
gsoc2013-evolution-5069df6878424605df09517e3b097c0bb47be746.tar.bz2
gsoc2013-evolution-5069df6878424605df09517e3b097c0bb47be746.tar.lz
gsoc2013-evolution-5069df6878424605df09517e3b097c0bb47be746.tar.xz
gsoc2013-evolution-5069df6878424605df09517e3b097c0bb47be746.tar.zst
gsoc2013-evolution-5069df6878424605df09517e3b097c0bb47be746.zip
Restructure capplet stuffs and load only on express mode.
Diffstat (limited to 'capplet/settings/anjal-mail-view.h')
-rw-r--r--capplet/settings/anjal-mail-view.h76
1 files changed, 76 insertions, 0 deletions
diff --git a/capplet/settings/anjal-mail-view.h b/capplet/settings/anjal-mail-view.h
new file mode 100644
index 0000000000..647d07b29a
--- /dev/null
+++ b/capplet/settings/anjal-mail-view.h
@@ -0,0 +1,76 @@
+/*
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) version 3.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with the program; if not, see <http://www.gnu.org/licenses/>
+ *
+ *
+ * Authors:
+ * Srinivasa Ragavan <sragavan@novell.com>
+ *
+ * Copyright (C) 2009 Novell, Inc. (www.novell.com)
+ *
+ */
+
+#ifndef _ANJAL_MAIL_VIEW_H_
+#define _ANJAL_MAIL_VIEW_H_
+
+#include <gtk/gtk.h>
+#include <mail/em-folder-tree.h>
+
+#define ANJAL_MAIL_VIEW_TYPE (anjal_mail_view_get_type ())
+#define ANJAL_MAIL_VIEW(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), ANJAL_MAIL_VIEW_TYPE, AnjalMailView))
+#define ANJAL_MAIL_VIEW_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), ANJAL_MAIL_VIEW_TYPE, AnjalMailViewClass))
+#define ANJAL_IS_MAIL_VIEW(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), ANJAL_MAIL_VIEW_TYPE))
+#define ANJAL_IS_MAIL_VIEW_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), ANJAL_MAIL_VIEW_TYPE))
+#define ANJAL_MAIL_VIEW_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS((o), ANJAL_MAIL_VIEW_TYPE, AnjalMailViewClass))
+
+typedef struct _AnjalMailViewPrivate AnjalMailViewPrivate;
+
+typedef struct _AnjalMailView {
+ GtkNotebook parent;
+
+ AnjalMailViewPrivate *priv;
+} AnjalMailView;
+
+typedef struct _AnjalMailViewClass {
+ GtkNotebookClass parent_class;
+ void (*set_folder_uri) (AnjalMailView *mail_view,
+ const gchar *uri);
+ void (*set_folder_tree_widget) (AnjalMailView *mail_view,
+ GtkWidget *tree);
+ void (*set_folder_tree) (AnjalMailView *mail_view,
+ EMFolderTree *tree);
+ void (*set_search) (AnjalMailView *mail_view,
+ const char *search);
+ void (* init_search) (AnjalMailView *mail_view, GtkWidget *search);
+} AnjalMailViewClass;
+
+GType anjal_mail_view_get_type (void);
+AnjalMailView * anjal_mail_view_new (void);
+void anjal_mail_view_set_folder_uri (AnjalMailView *mv, const char *uri);
+#if 0
+void anjal_mail_view_show_sort_popup (AnjalMailView *mv, GtkWidget *);
+void anjal_anjal_mail_view_show_list (AnjalMailView *mv);
+void anjal_mail_view_close_view (AnjalMailView *mv);
+void anjal_mail_view_set_check_email (AnjalMailView *mv, GtkWidget *button);
+void anjal_mail_view_set_sort_by (AnjalMailView *mv, GtkWidget *button);
+void anjal_mail_view_check_mail(AnjalMailView *mv, gboolean deep);
+void anjal_mail_view_save (AnjalMailView *mv);
+void anjal_mail_view_set_slider (AnjalMailView *mv, GtkWidget *slider);
+void anjal_mail_view_switch_to_people (AnjalMailView* mv, MailViewChild *mpv);
+void anjal_mail_view_switch_to_settings (AnjalMailView* mv, MailViewChild *mpv);
+#endif
+void anjal_mail_view_set_folder_tree_widget (AnjalMailView *mv, GtkWidget *tree);
+void anjal_mail_view_set_folder_tree (AnjalMailView *mv, GtkWidget *tree);
+void anjal_mail_view_set_search (AnjalMailView *view, const char *search);
+void anjal_mail_view_init_search (AnjalMailView *mv, GtkWidget *search);
+#endif