1
/* gimpxmpmodelwidget.h - interface definition for xmpmodel gtkwidgets
3
* Copyright (C) 2010, Róman Joost <romanofski@gimp.org>
5
* This library is free software: you can redistribute it and/or
6
* modify it under the terms of the GNU Lesser General Public
7
* License as published by the Free Software Foundation; either
8
* version 3 of the License, or (at your option) any later version.
10
* This library is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
* Lesser General Public License for more details.
15
* You should have received a copy of the GNU Lesser General Public
16
* License along with this library. If not, see
17
* <http://www.gnu.org/licenses/>.
20
#ifndef __GIMP_XMP_MODEL_WIDGET_H__
21
#define __GIMP_XMP_MODEL_WIDGET_H__
28
GIMP_XMP_MODEL_WIDGET_PROP_0,
29
GIMP_XMP_MODEL_WIDGET_PROP_SCHEMA_URI,
30
GIMP_XMP_MODEL_WIDGET_PROP_PROPERTY_NAME,
31
GIMP_XMP_MODEL_WIDGET_PROP_XMPMODEL
32
} GimpXmpModelWidgetProp;
36
#define GIMP_TYPE_XMP_MODEL_WIDGET (gimp_xmp_model_widget_interface_get_type ())
37
#define GIMP_IS_XMP_MODEL_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GIMP_TYPE_XMP_MODEL_WIDGET))
38
#define GIMP_XMP_MODEL_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GIMP_TYPE_XMP_MODEL_WIDGET, GimpXmpModelWidget))
39
#define GIMP_XMP_MODEL_WIDGET_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GIMP_TYPE_XMP_MODEL_WIDGET, GimpXmpModelWidgetInterface))
42
typedef struct _GimpXmpModelWidget GimpXmpModelWidget;
43
typedef struct _GimpXmpModelWidgetInterface GimpXmpModelWidgetInterface;
46
struct _GimpXmpModelWidgetInterface
48
GTypeInterface base_iface;
50
void (*widget_set_text) (GimpXmpModelWidget *widget,
55
GType gimp_xmp_model_widget_interface_get_type (void) G_GNUC_CONST;
57
void gimp_xmp_model_widget_install_properties (GObjectClass *klass);
59
void gimp_xmp_model_widget_constructor (GObject *object);
61
void gimp_xmp_model_widget_set_text (GimpXmpModelWidget *widget,
64
void gimp_xmp_model_widget_set_property (GObject *object,
69
void gimp_xmp_model_widget_get_property (GObject *object,
74
void gimp_xmp_model_widget_changed (GimpXmpModelWidget *widget,
80
#endif /* __GIMP_XMP_MODEL_WIDGET_H__ */