aboutsummaryrefslogtreecommitdiffstats
path: root/filter/filter-editor.h
diff options
context:
space:
mode:
authorNot Zed <NotZed@HelixCode.com>2000-07-30 11:23:41 +0800
committerMichael Zucci <zucchi@src.gnome.org>2000-07-30 11:23:41 +0800
commita44d1c188b0bc166e5966ae3854a1c0bc8c44afd (patch)
treedf30c85510f2b55384f95f184ae4768eedc0bac7 /filter/filter-editor.h
parent4f1ecbb64b04048e1765f25e65799830316021d1 (diff)
downloadgsoc2013-evolution-a44d1c188b0bc166e5966ae3854a1c0bc8c44afd.tar
gsoc2013-evolution-a44d1c188b0bc166e5966ae3854a1c0bc8c44afd.tar.gz
gsoc2013-evolution-a44d1c188b0bc166e5966ae3854a1c0bc8c44afd.tar.bz2
gsoc2013-evolution-a44d1c188b0bc166e5966ae3854a1c0bc8c44afd.tar.lz
gsoc2013-evolution-a44d1c188b0bc166e5966ae3854a1c0bc8c44afd.tar.xz
gsoc2013-evolution-a44d1c188b0bc166e5966ae3854a1c0bc8c44afd.tar.zst
gsoc2013-evolution-a44d1c188b0bc166e5966ae3854a1c0bc8c44afd.zip
** Almost a total rewrite of every file, except for filter-driver which
2000-07-30 Not Zed <NotZed@HelixCode.com> ** Almost a total rewrite of every file, except for filter-driver which just had minor updates. The rule format has changed. svn path=/trunk/; revision=4418
Diffstat (limited to 'filter/filter-editor.h')
-rw-r--r--filter/filter-editor.h37
1 files changed, 20 insertions, 17 deletions
diff --git a/filter/filter-editor.h b/filter/filter-editor.h
index 66f7a81e11..20369a9536 100644
--- a/filter/filter-editor.h
+++ b/filter/filter-editor.h
@@ -1,7 +1,7 @@
/*
* Copyright (C) 2000 Helix Code Inc.
*
- * Authors: Michael Zucchi <notzed@helixcode.com>
+ * Authors: Not Zed <notzed@lostzed.mmc.com.au>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public License
@@ -22,37 +22,40 @@
#define _FILTER_EDITOR_H
#include <gtk/gtk.h>
-#include <gnome.h>
-#include "filter-xml.h"
+#include <libgnomeui/gnome-dialog.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)
+#if 0
+/* NOTE: object stuff not used (yet?), this is just a holder file for a static factory */
+
+#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 ())
-typedef struct _FilterEditor FilterEditor;
-typedef struct _FilterEditorClass FilterEditorClass;
+typedef struct _FilterEditor FilterEditor;
+typedef struct _FilterEditorClass FilterEditorClass;
struct _FilterEditor {
GnomeDialog parent;
-
struct _FilterEditorPrivate *priv;
- GList *rules;
- GList *systemoptions;
- GList *useroptions;
-
- struct filter_option *option_current;
};
struct _FilterEditorClass {
GnomeDialogClass parent_class;
+
+ /* virtual methods */
+
+ /* signals */
};
guint filter_editor_get_type (void);
-FilterEditor *filter_editor_new (void);
+FilterEditor *filter_editor_new (void);
+#endif
+
+struct _FilterContext;
-void filter_editor_set_rules(FilterEditor *e, GList *rules, GList *systemoptions, GList *useroptions);
-void filter_editor_set_rule_files(FilterEditor *e, const char *systemrules, const char *userrules);
-int filter_editor_save_rules(FilterEditor *e, const char *userrules);
+/* methods */
+GtkWidget *filter_editor_construct (struct _FilterContext *f);
#endif /* ! _FILTER_EDITOR_H */
+