aboutsummaryrefslogtreecommitdiffstats
path: root/filter/filter-option.h
diff options
context:
space:
mode:
Diffstat (limited to 'filter/filter-option.h')
-rw-r--r--filter/filter-option.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/filter/filter-option.h b/filter/filter-option.h
index 4b33a18697..a296c75602 100644
--- a/filter/filter-option.h
+++ b/filter/filter-option.h
@@ -40,6 +40,8 @@ struct _FilterOption {
FilterElement parent;
struct _FilterOptionPrivate *priv;
+ const char *type; /* static memory, type name written to xml */
+
GList *options;
struct _filter_option *current;
};
@@ -57,6 +59,7 @@ FilterOption *filter_option_new (void);
/* methods */
void filter_option_set_current(FilterOption *option, const char *name);
+void filter_option_add(FilterOption *fo, const char *name, const char *title, const char *code);
#endif /* ! _FILTER_OPTION_H */