don't include dlfcn.h on win32
[dia.git] / lib / prop_inttypes.h
blobcc077af6718835f3d194fa41e7e2e00101a70f33
1 /* Dia -- a diagram creation/manipulation program -*- c -*-
2 * Copyright (C) 1998 Alexander Larsson
4 * Property system for dia objects/shapes.
5 * Copyright (C) 2000 James Henstridge
6 * Copyright (C) 2001 Cyrille Chepelov
7 * Major restructuration done in August 2001 by C. Chepelov
9 * Property types for integral types (and arrays thereof).
11 * This program is free software; you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation; either version 2 of the License, or
14 * (at your option) any later version.
16 * This program is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
21 * You should have received a copy of the GNU General Public License
22 * along with this program; if not, write to the Free Software
23 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
25 #ifndef PROP_INTTYPES_H
26 #define PROP_INTTYPES_H
28 #include "properties.h"
29 #include "dia_xml.h"
32 typedef struct {
33 Property common;
34 gunichar char_data;
35 } CharProperty;
37 typedef struct {
38 Property common;
39 gboolean bool_data;
40 } BoolProperty;
42 typedef struct {
43 Property common;
44 gint int_data;
45 } IntProperty;
47 typedef struct {
48 Property common;
49 GArray *intarray_data;
50 } IntarrayProperty;
52 typedef struct {
53 Property common;
54 gint enum_data;
55 } EnumProperty;
57 typedef struct {
58 Property common;
59 GArray *enumarray_data;
60 } EnumarrayProperty;
62 void prop_inttypes_register(void);
64 #endif