aboutsummaryrefslogtreecommitdiffstats
path: root/mail/e-mail-notebook-view.h
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-07-26 12:30:38 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-07-26 13:16:42 +0800
commit81e5428a59194dd38cf2a07b2d3f9b4b6f81f6ef (patch)
tree0211046a4e44ba2a0e82b1c1ce8f9a903552f979 /mail/e-mail-notebook-view.h
parent13cf1d104bbacffaf09393678c12a7efadd53139 (diff)
downloadgsoc2013-evolution-81e5428a59194dd38cf2a07b2d3f9b4b6f81f6ef.tar.gz
gsoc2013-evolution-81e5428a59194dd38cf2a07b2d3f9b4b6f81f6ef.tar.zst
gsoc2013-evolution-81e5428a59194dd38cf2a07b2d3f9b4b6f81f6ef.zip
Coding style and whitespace cleanup.
Diffstat (limited to 'mail/e-mail-notebook-view.h')
-rw-r--r--mail/e-mail-notebook-view.h105
1 files changed, 62 insertions, 43 deletions
diff --git a/mail/e-mail-notebook-view.h b/mail/e-mail-notebook-view.h
index 957737653b..cdc341ec4a 100644
--- a/mail/e-mail-notebook-view.h
+++ b/mail/e-mail-notebook-view.h
@@ -10,7 +10,7 @@
* 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/>
+ * License along with the program; if not, see <http://www.gnu.org/licenses/>
*
*
* Authors:
@@ -20,59 +20,78 @@
*
*/
-#ifndef _E_MAIL_NOTEBOOK_VIEW_H_
-#define _E_MAIL_NOTEBOOK_VIEW_H_
+#ifndef E_MAIL_NOTEBOOK_VIEW_H
+#define E_MAIL_NOTEBOOK_VIEW_H
-#include <gtk/gtk.h>
-#include "e-mail-view.h"
+#include <mail/e-mail-view.h>
#include <shell/e-shell-searchbar.h>
-#include "widgets/menus/gal-view-instance.h"
+#include <menus/gal-view-instance.h>
-#define E_MAIL_NOTEBOOK_VIEW_TYPE (e_mail_notebook_view_get_type ())
-#define E_MAIL_NOTEBOOK_VIEW(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), E_MAIL_NOTEBOOK_VIEW_TYPE, EMailNotebookView))
-#define E_MAIL_NOTEBOOK_VIEW_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), E_MAIL_NOTEBOOK_VIEW_TYPE, EMailNotebookViewClass))
-#define E_IS_MAIL_NOTEBOOK_VIEW(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), E_MAIL_NOTEBOOK_VIEW_TYPE))
-#define E_IS_MAIL_NOTEBOOK_VIEW_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), E_MAIL_NOTEBOOK_VIEW_TYPE))
-#define E_MAIL_NOTEBOOK_VIEW_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS((o), E_MAIL_NOTEBOOK_VIEW_TYPE, EMailNotebookViewClass))
+/* Standard GObject macros */
+#define E_TYPE_MAIL_NOTEBOOK_VIEW \
+ (e_mail_notebook_view_get_type ())
+#define E_MAIL_NOTEBOOK_VIEW(obj) \
+ (G_TYPE_CHECK_INSTANCE_CAST \
+ ((obj), E_TYPE_MAIL_NOTEBOOK_VIEW, EMailNotebookView))
+#define E_MAIL_NOTEBOOK_VIEW_CLASS(cls) \
+ (G_TYPE_CHECK_CLASS_CAST \
+ ((cls), E_TYPE_MAIL_NOTEBOOK_VIEW, EMailNotebookViewClass))
+#define E_IS_MAIL_NOTEBOOK_VIEW(obj) \
+ (G_TYPE_CHECK_INSTANCE_TYPE \
+ ((obj), E_TYPE_MAIL_NOTEBOOK_VIEW))
+#define E_IS_MAIL_NOTEBOOK_VIEW_CLASS(cls) \
+ (G_TYPE_CHECK_CLASS_TYPE \
+ ((cls), E_TYPE_MAIL_NOTEBOOK_VIEW))
+#define E_MAIL_NOTEBOOK_VIEW_GET_CLASS(obj) \
+ (G_TYPE_INSTANCE_GET_CLASS \
+ ((obj), E_TYPE_MAIL_NOTEBOOK_VIEW, EMailNotebookViewClass))
+G_BEGIN_DECLS
+typedef struct _EMailNotebookView EMailNotebookView;
+typedef struct _EMailNotebookViewClass EMailNotebookViewClass;
typedef struct _EMailNotebookViewPrivate EMailNotebookViewPrivate;
-typedef struct _EMailNotebookView {
+struct _EMailNotebookView {
EMailView parent;
-
EMailNotebookViewPrivate *priv;
-} EMailNotebookView;
+};
-typedef struct _EMailNotebookViewClass {
+struct _EMailNotebookViewClass {
EMailViewClass parent_class;
+};
-} EMailNotebookViewClass;
-
-GType e_mail_notebook_view_get_type (void);
-void e_mail_notebook_view_register_type (GTypeModule *type_module);
-GtkWidget * e_mail_notebook_view_new (EShellContent *content);
-
-EShellSearchbar * e_mail_notebook_view_get_searchbar (EMailView *view);
-void e_mail_notebook_view_set_search_strings (EMailView *view, GSList *search_strings);
-GalViewInstance * e_mail_notebook_view_get_view_instance (EMailView *view);
-void e_mail_notebook_view_update_view_instance (EMailView *view);
-
-void
-e_mail_notebook_view_set_show_deleted (EMailNotebookView *view,
- gboolean show_deleted);
-gboolean
-e_mail_notebook_view_get_show_deleted (EMailNotebookView *view);
+GType e_mail_notebook_view_get_type (void);
+void e_mail_notebook_view_register_type
+ (GTypeModule *type_module);
+GtkWidget * e_mail_notebook_view_new (EShellContent *content);
+EShellSearchbar *
+ e_mail_notebook_view_get_searchbar
+ (EMailNotebookView *view);
+void e_mail_notebook_view_set_search_strings
+ (EMailNotebookView *view,
+ GSList *search_strings);
+GalViewInstance *
+ e_mail_notebook_view_get_view_instance
+ (EMailNotebookView *view);
+void e_mail_notebook_view_update_view_instance
+ (EMailNotebookView *view);
+void e_mail_notebook_view_set_show_deleted
+ (EMailNotebookView *view,
+ gboolean show_deleted);
+gboolean e_mail_notebook_view_get_show_deleted
+ (EMailNotebookView *view);
+void e_mail_notebook_view_set_preview_visible
+ (EMailNotebookView *view,
+ gboolean preview_visible);
+gboolean e_mail_notebook_view_get_preview_visible
+ (EMailNotebookView *view);
+void e_mail_notebook_view_set_orientation
+ (EMailNotebookView *view,
+ GtkOrientation orientation);
+GtkOrientation e_mail_notebook_view_get_orientation
+ (EMailNotebookView *view);
-void
-e_mail_notebook_view_set_preview_visible (EMailNotebookView *view,
- gboolean preview_visible);
-gboolean
-e_mail_notebook_view_get_preview_visible (EMailNotebookView *view);
-void
-e_mail_notebook_view_set_orientation (EMailNotebookView *view,
- GtkOrientation orientation);
-GtkOrientation
-e_mail_notebook_view_get_orientation (EMailNotebookView *view);
+G_END_DECLS
-#endif
+#endif /* E_MAIL_NOTEBOOK_VIEW_H */