diff options
Diffstat (limited to 'filter/vfolder-editor.h')
-rw-r--r-- | filter/vfolder-editor.h | 36 |
1 files changed, 20 insertions, 16 deletions
diff --git a/filter/vfolder-editor.h b/filter/vfolder-editor.h index d749a3589d..f39a2ccf30 100644 --- a/filter/vfolder-editor.h +++ b/filter/vfolder-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 @@ -18,37 +20,39 @@ * Boston, MA 02111-1307, USA. */ + #ifndef _VFOLDER_EDITOR_H #define _VFOLDER_EDITOR_H #include "rule-editor.h" +#include "vfolder-context.h" -#define VFOLDER_EDITOR(obj) GTK_CHECK_CAST (obj, vfolder_editor_get_type (), VfolderEditor) -#define VFOLDER_EDITOR_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, vfolder_editor_get_type (), VfolderEditorClass) -#define IS_VFOLDER_EDITOR(obj) GTK_CHECK_TYPE (obj, vfolder_editor_get_type ()) +#define VFOLDER_TYPE_EDITOR (vfolder_editor_get_type ()) +#define VFOLDER_EDITOR(obj) (GTK_CHECK_CAST ((obj), VFOLDER_TYPE_EDITOR, VfolderEditor)) +#define VFOLDER_EDITOR_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), VFOLDER_TYPE_EDITOR, VfolderEditorClass)) +#define IS_VFOLDER_EDITOR(obj) (GTK_CHECK_TYPE ((obj), VFOLDER_TYPE_EDITOR)) +#define IS_VFOLDER_EDITOR_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), VFOLDER_TYPE_EDITOR)) +#define VFOLDER_EDITOR_GET_CLASS(obj) (GTK_CHECK_GET_CLASS ((obj), VFOLDER_TYPE_EDITOR, VfolderEditorClass)) -typedef struct _VfolderEditor VfolderEditor; -typedef struct _VfolderEditorClass VfolderEditorClass; +typedef struct _VfolderEditor VfolderEditor; +typedef struct _VfolderEditorClass VfolderEditorClass; struct _VfolderEditor { - RuleEditor parent; - - struct _VfolderEditorPrivate *priv; - + RuleEditor parent_object; + }; struct _VfolderEditorClass { RuleEditorClass parent_class; - + /* virtual methods */ - + /* signals */ }; -struct _VfolderContext; -guint vfolder_editor_get_type (void); -VfolderEditor *vfolder_editor_new (struct _VfolderContext *); +GtkType vfolder_editor_get_type (void); -#endif /* ! _VFOLDER_EDITOR_H */ +VfolderEditor *vfolder_editor_new (VfolderContext *vc); +#endif /* ! _VFOLDER_EDITOR_H */ |