diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2002-11-02 06:07:46 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2002-11-02 06:07:46 +0800 |
commit | 9bfc63718a9752a4e55cf03f5440dd82df63a758 (patch) | |
tree | d2529c3babf3bdaab3398a6cb308001cf1287f92 /filter/filter-code.h | |
parent | fc0d5a9556b9f1ed0aa1514dd26b6b737c495a1b (diff) | |
download | gsoc2013-evolution-9bfc63718a9752a4e55cf03f5440dd82df63a758.tar.gz gsoc2013-evolution-9bfc63718a9752a4e55cf03f5440dd82df63a758.tar.zst gsoc2013-evolution-9bfc63718a9752a4e55cf03f5440dd82df63a758.zip |
Ported to GObject.
2002-11-01 Jeffrey Stedfast <fejj@ximian.com>
* filter-element.c: Ported to GObject.
* filter-input.c: Same.
* filter-code.c: This too.
* filter-colour.c: And this.
svn path=/trunk/; revision=18492
Diffstat (limited to 'filter/filter-code.h')
-rw-r--r-- | filter/filter-code.h | 27 |
1 files changed, 16 insertions, 11 deletions
diff --git a/filter/filter-code.h b/filter/filter-code.h index 3f640fe909..2d590279ee 100644 --- a/filter/filter-code.h +++ b/filter/filter-code.h @@ -1,7 +1,9 @@ +/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* - * Copyright (C) 2000 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,34 +20,37 @@ * Boston, MA 02111-1307, USA. */ + #ifndef _FILTER_CODE_H #define _FILTER_CODE_H #include "filter-input.h" -#define FILTER_CODE(obj) GTK_CHECK_CAST (obj, filter_code_get_type (), FilterCode) -#define FILTER_CODE_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, filter_code_get_type (), FilterCodeClass) -#define IS_FILTER_CODE(obj) GTK_CHECK_TYPE (obj, filter_code_get_type ()) +#define FILTER_TYPE_CODE (filter_code_get_type ()) +#define FILTER_CODE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), FILTER_TYPE_CODE, FilterCode)) +#define FILTER_CODE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FILTER_TYPE_CODE, FilterCodeClass)) +#define IS_FILTER_CODE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), FILTER_TYPE_CODE)) +#define IS_FILTER_CODE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FILTER_TYPE_CODE)) +#define FILTER_CODE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FILTER_TYPE_CODE, FilterCodeClass)) -typedef struct _FilterCode FilterCode; +typedef struct _FilterCode FilterCode; typedef struct _FilterCodeClass FilterCodeClass; struct _FilterCode { - FilterInput parent; + FilterInput parent_object; }; struct _FilterCodeClass { FilterInputClass parent_class; - + /* virtual methods */ - + /* signals */ }; -guint filter_code_get_type (void); -FilterCode *filter_code_new (void); +GType filter_code_get_type (void); +FilterCode *filter_code_new (void); /* methods */ #endif /* ! _FILTER_CODE_H */ - |