ReactOS
0.4.16-dev-456-ga97fcf1
schemadef.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2003 Kevin Koltzau
3
* Copyright (C) 2004 Francois Gouget
4
*
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 2.1 of the License, or (at your option) any later version.
9
*
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.
14
*
15
* You should have received a copy of the GNU Lesser General Public
16
* License along with this library; if not, write to the Free Software
17
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18
*/
19
20
#ifndef SCHEMADEF_H
21
#define SCHEMADEF_H
22
23
#define BEGIN_TM_SCHEMA(name)
24
#define END_TM_SCHEMA(name)
25
26
#define BEGIN_TM_ENUM(name) enum name {
27
#define TM_ENUM(value, prefix, name) prefix##_##name = (value),
28
#define END_TM_ENUM() };
29
30
#define BEGIN_TM_PROPS() enum PropValues { \
31
DummyProp = 49,
32
#define TM_PROP(value, prefix, name, type) prefix##_##name = (value),
33
#define END_TM_PROPS() };
34
35
#define BEGIN_TM_CLASS_PARTS(name) enum name##PARTS { \
36
name##PartFiller0,
37
#define TM_PART(value, prefix, name) prefix##_##name = (value),
38
#define END_TM_CLASS_PARTS() };
39
40
#define BEGIN_TM_PART_STATES(name) enum name##STATES { \
41
name##StateFiller0,
42
#define TM_STATE(value, prefix, name) prefix##_##name = (value),
43
#define END_TM_PART_STATES() };
44
45
#endif
sdk
include
psdk
schemadef.h
Generated on Mon Jan 13 2025 06:12:27 for ReactOS by
1.9.6