1 /* Simple_def.h
2  *
3  * Copyright (C) 1992-2012,2015,2017 Paul Boersma
4  *
5  * This code is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation; either version 2 of the License, or (at
8  * your option) any later version.
9  *
10  * This code is distributed in the hope that it will be useful, but
11  * WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
13  * See the GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this work. If not, see <http://www.gnu.org/licenses/>.
17  */
18 
19 #define ooSTRUCT SimpleInteger
20 oo_DEFINE_CLASS (SimpleInteger, Daata)
21 	oo_INTEGER (number)
22 oo_END_CLASS (SimpleInteger)
23 #undef ooSTRUCT
24 
Thing_define(ScriptEditor,TextEditor)25 #define ooSTRUCT SimpleDouble
26 oo_DEFINE_CLASS (SimpleDouble, Daata)
27 	oo_DOUBLE (number)
28 oo_END_CLASS (SimpleDouble)
29 #undef ooSTRUCT
30 
31 #define ooSTRUCT SimpleString
32 oo_DEFINE_CLASS (SimpleString, Daata)
33 	oo_STRING (string)
34 oo_END_CLASS (SimpleString)
35 #undef ooSTRUCT
36 
37 /* End of file Simple_def.h */
38