aboutsummaryrefslogtreecommitdiffstats
path: root/filter/filter-editor.h
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-11-05 11:09:44 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-11-05 11:09:44 +0800
commitbabf0f4f8cf0c7fbe68ab52068a092901f02b380 (patch)
tree235bd04205cd716cea8921cf5882fee5644ad530 /filter/filter-editor.h
parentfab377c503df250439b84aba95db023786d33ee1 (diff)
downloadgsoc2013-evolution-babf0f4f8cf0c7fbe68ab52068a092901f02b380.tar
gsoc2013-evolution-babf0f4f8cf0c7fbe68ab52068a092901f02b380.tar.gz
gsoc2013-evolution-babf0f4f8cf0c7fbe68ab52068a092901f02b380.tar.bz2
gsoc2013-evolution-babf0f4f8cf0c7fbe68ab52068a092901f02b380.tar.lz
gsoc2013-evolution-babf0f4f8cf0c7fbe68ab52068a092901f02b380.tar.xz
gsoc2013-evolution-babf0f4f8cf0c7fbe68ab52068a092901f02b380.tar.zst
gsoc2013-evolution-babf0f4f8cf0c7fbe68ab52068a092901f02b380.zip
Also ported.
2002-11-04 Jeffrey Stedfast <fejj@ximian.com> * filter-editor.c: Also ported. * rule-editor.c: Ported to gtk2 and removed unnecessary e_utf8 snot. svn path=/trunk/; revision=18539
Diffstat (limited to 'filter/filter-editor.h')
-rw-r--r--filter/filter-editor.h34
1 files changed, 19 insertions, 15 deletions
diff --git a/filter/filter-editor.h b/filter/filter-editor.h
index 6a859951a1..8936147a5d 100644
--- a/filter/filter-editor.h
+++ b/filter/filter-editor.h
@@ -1,7 +1,9 @@
+/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
- * Copyright (C) 2000, 2001 Ximian Inc.
+ * Copyright (C) 2000-2002 Ximian Inc.
*
* Authors: Not Zed <notzed@lostzed.mmc.com.au>
+ * Jeffrey Stedfast <fejj@ximian.com>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of version 2 of the GNU General Public
@@ -22,33 +24,35 @@
#define _FILTER_EDITOR_H
#include "rule-editor.h"
+#include "filter-context.h"
-#define FILTER_EDITOR(obj) GTK_CHECK_CAST (obj, filter_editor_get_type (), FilterEditor)
-#define FILTER_EDITOR_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, filter_editor_get_type (), FilterEditorClass)
-#define IS_FILTER_EDITOR(obj) GTK_CHECK_TYPE (obj, filter_editor_get_type ())
+#define FILTER_TYPE_EDITOR (filter_editor_get_type ())
+#define FILTER_EDITOR(obj) (GTK_CHECK_CAST ((obj), FILTER_TYPE_EDITOR, FilterEditor))
+#define FILTER_EDITOR_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), FILTER_TYPE_EDITOR, FilterEditorClass))
+#define IS_FILTER_EDITOR(obj) (GTK_CHECK_TYPE ((obj), FILTER_TYPE_EDITOR))
+#define IS_FILTER_EDITOR_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), FILTER_TYPE_EDITOR))
+#define FILTER_EDITOR_GET_CLASS(obj) (GTK_CHECK_GET_CLASS ((obj), FILTER_TYPE_EDITOR, FilterEditorClass))
-typedef struct _FilterEditor FilterEditor;
-typedef struct _FilterEditorClass FilterEditorClass;
+typedef struct _FilterEditor FilterEditor;
+typedef struct _FilterEditorClass FilterEditorClass;
struct _FilterEditor {
- RuleEditor parent;
+ RuleEditor parent_object;
struct _FilterEditorPrivate *priv;
-
+
};
struct _FilterEditorClass {
RuleEditorClass parent_class;
-
+
/* virtual methods */
-
+
/* signals */
};
-struct _FilterContext;
+GtkType filter_editor_get_type (void);
-guint filter_editor_get_type (void);
-FilterEditor *filter_editor_new(struct _FilterContext *f, const char **source_names);
-void filter_editor_construct(FilterEditor *fe, struct _FilterContext *fc, struct _GladeXML *gui, const char **source_names);
+FilterEditor *filter_editor_new (FilterContext *f, const char **source_names);
+void filter_editor_construct (FilterEditor *fe, FilterContext *fc, GladeXML *gui, const char **source_names);
#endif /* ! _FILTER_EDITOR_H */
-