1 /* 2 * Copyright (C) 2009 - 2011 Vivien Malerba <malerba@gnome-db.org> 3 * 4 * This library is free software; you can redistribute it and/or 5 * modify it under the terms of the GNU Lesser General Public 6 * License as published by the Free Software Foundation; either 7 * version 2 of the License, or (at your option) any later version. 8 * 9 * This library is distributed in the hope that it will be useful, 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 * Lesser General Public License for more details. 13 * 14 * You should have received a copy of the GNU Lesser General Public 15 * License along with this library; if not, write to the 16 * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, 17 * Boston, MA 02110-1301, USA. 18 */ 19 20 21 #ifndef __GDAUI_ENTRY_STRING_H_ 22 #define __GDAUI_ENTRY_STRING_H_ 23 24 #include "gdaui-entry-wrapper.h" 25 26 G_BEGIN_DECLS 27 28 #define GDAUI_TYPE_ENTRY_STRING (gdaui_entry_string_get_type()) 29 #define GDAUI_ENTRY_STRING(obj) G_TYPE_CHECK_INSTANCE_CAST (obj, gdaui_entry_string_get_type(), GdauiEntryString) 30 #define GDAUI_ENTRY_STRING_CLASS(klass) G_TYPE_CHECK_CLASS_CAST (klass, gdaui_entry_string_get_type (), GdauiEntryStringClass) 31 #define GDAUI_IS_ENTRY_STRING(obj) G_TYPE_CHECK_INSTANCE_TYPE (obj, gdaui_entry_string_get_type ()) 32 33 34 typedef struct _GdauiEntryString GdauiEntryString; 35 typedef struct _GdauiEntryStringClass GdauiEntryStringClass; 36 typedef struct _GdauiEntryStringPrivate GdauiEntryStringPrivate; 37 38 39 /* struct for the object's data */ 40 struct _GdauiEntryString 41 { 42 GdauiEntryWrapper object; 43 GdauiEntryStringPrivate *priv; 44 }; 45 46 /* struct for the object's class */ 47 struct _GdauiEntryStringClass 48 { 49 GdauiEntryWrapperClass parent_class; 50 }; 51 52 GType gdaui_entry_string_get_type (void) G_GNUC_CONST; 53 GtkWidget *gdaui_entry_string_new (GdaDataHandler *dh, GType type, const gchar *options); 54 55 56 G_END_DECLS 57 58 #endif 59