midgard/midgard_type.h

00001 /* 
00002  * Copyright (C) 2005 Piotr Pokora <piotr.pokora@infoglob.pl>
00003  *
00004  * This program is free software; you can redistribute it and/or modify it
00005  * under the terms of the GNU Lesser General Public License as published
00006  * by the Free Software Foundation; either version 2 of the License, or
00007  * (at your option) any later version.
00008  * 
00009  * This program is distributed in the hope that it will be useful,
00010  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00012  * GNU General Public License for more details.
00013  * 
00014  * You should have received a copy of the GNU General Public License
00015  * along with this program; if not, write to the Free Software
00016  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00017  */
00018 
00019 #ifndef MIDGARD_TYPE_H
00020 #define MIDGARD_TYPE_H
00021 
00022 #include <stdio.h>
00023 #include <string.h>
00024 #include <stdarg.h>
00025 #include <assert.h>
00026 #include <ctype.h>
00027 
00028 #include <glib.h>
00029 #include <glib-object.h>
00030 
00031 /* Longtext */
00032 #define MGD_TYPE_LONGTEXT (midgard_longtext_get_type())
00033 
00040 extern GType midgard_longtext_get_type(void);
00041 
00042 
00043 #define MGD_TYPE_PARAM_LONGTEXT (midgard_param_longtext_get_type())
00044 #define MGD_IS_PARAM_SPEC_LONGTEXT(pspec)    (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), MGD_TYPE_PARAM_LONGTEXT))
00045 #define MGD_PARAM_SPEC_LONGTEXT(pspec)       (G_TYPE_CHECK_INSTANCE_CAST ((pspec), MGD_TYPE_PARAM_LONGTEXT, MgdParamSpecLongtext))
00046 
00047 typedef struct _MgdParamSpecLongtext MgdParamSpecLongtext;
00048 
00055 extern GType midgard_param_longtext_get_type(void);
00056 
00057 
00058 /* Timestamp */
00059 #define MGD_TYPE_TIMESTAMP (midgard_timestamp_get_type())
00060 
00068 extern GType midgard_timestamp_get_type(void);
00069 
00070 /* Guid */
00071 #define MGD_TYPE_GUID (midgard_guid_get_type())
00072 
00079 extern GType midgard_guid_get_type(void);
00080 
00081 /* sitegroup */
00082 #define MGD_TYPE_SITEGROUP (midgard_sitegroup_get_type())
00083 
00090 extern GType midgard_sitegroup_get_type(void);
00091 
00092 /* Routines */
00093 #define MGD_TYPE_NONE G_TYPE_NONE
00094 #define MGD_TYPE_STRING G_TYPE_STRING
00095 #define MGD_TYPE_UINT G_TYPE_UINT
00096 #define MGD_TYPE_FLOAT G_TYPE_FLOAT
00097 #define MGD_TYPE_BOOLEAN G_TYPE_BOOLEAN
00098 #define MGD_TYPE_INT G_TYPE_INT
00099 
00100 #endif /* MIDGARD_TYPE_H */

Generated on Thu Feb 22 06:15:14 2007 for midgard-core by  doxygen 1.4.6