1 /**********************************************************
2  * This file has been automatically created by "typemaker2"
3  * from the file "tm_slot.xml".
4  * Please do not edit this file, all changes will be lost.
5  * Better edit the mentioned source file instead.
6  **********************************************************/
7 
8 #ifndef TM_SLOT_H
9 #define TM_SLOT_H
10 
11 
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15 
16 /* define TYPEMAKER2_SLOT_FLAGS */
17 #define TYPEMAKER2_SLOT_FLAGS_USE_PARAM3 0x00000001
18 #define TYPEMAKER2_SLOT_FLAGS_USE_PARAM4 0x00000002
19 
20 
21 /* needed system headers */
22 #include <gwenhywfar/types.h>
23 #include <gwenhywfar/list1.h>
24 #include <gwenhywfar/list2.h>
25 #include <gwenhywfar/xml.h>
26 
27 typedef struct TYPEMAKER2_SLOT TYPEMAKER2_SLOT;
28 GWEN_LIST_FUNCTION_DEFS(TYPEMAKER2_SLOT, Typemaker2_Slot)
29 GWEN_LIST2_FUNCTION_DEFS(TYPEMAKER2_SLOT, Typemaker2_Slot)
30 
31 
32 
33 
34 /** Constructor. */
35 TYPEMAKER2_SLOT *Typemaker2_Slot_new(void);
36 
37 /** Destructor. */
38 void Typemaker2_Slot_free(TYPEMAKER2_SLOT *p_struct);
39 
40 TYPEMAKER2_SLOT *Typemaker2_Slot_dup(const TYPEMAKER2_SLOT *p_struct);
41 
42 TYPEMAKER2_SLOT *Typemaker2_Slot_copy(TYPEMAKER2_SLOT *p_struct, const TYPEMAKER2_SLOT *p_src);
43 
44 /** Getter.
45  * Use this function to get the member "name"
46 */
47 const char *Typemaker2_Slot_GetName(const TYPEMAKER2_SLOT *p_struct);
48 
49 /** Getter.
50  * Use this function to get the member "paramType1"
51 */
52 const char *Typemaker2_Slot_GetParamType1(const TYPEMAKER2_SLOT *p_struct);
53 
54 /** Getter.
55  * Use this function to get the member "paramType2"
56 */
57 const char *Typemaker2_Slot_GetParamType2(const TYPEMAKER2_SLOT *p_struct);
58 
59 /** Getter.
60  * Use this function to get the member "flags"
61 */
62 uint32_t Typemaker2_Slot_GetFlags(const TYPEMAKER2_SLOT *p_struct);
63 
64 /** Setter.
65  * Use this function to set the member "name"
66 */
67 void Typemaker2_Slot_SetName(TYPEMAKER2_SLOT *p_struct, const char *p_src);
68 
69 /** Setter.
70  * Use this function to set the member "paramType1"
71 */
72 void Typemaker2_Slot_SetParamType1(TYPEMAKER2_SLOT *p_struct, const char *p_src);
73 
74 /** Setter.
75  * Use this function to set the member "paramType2"
76 */
77 void Typemaker2_Slot_SetParamType2(TYPEMAKER2_SLOT *p_struct, const char *p_src);
78 
79 /** Setter.
80  * Use this function to set the member "flags"
81 */
82 void Typemaker2_Slot_SetFlags(TYPEMAKER2_SLOT *p_struct, uint32_t p_src);
83 
84 /** Add flags.
85  * Use this function to add flags to the member "flags"
86 */
87 void Typemaker2_Slot_AddFlags(TYPEMAKER2_SLOT *p_struct, uint32_t p_src);
88 
89 /** Sub flags.
90  * Use this function to sub flags to the member "flags"
91 */
92 void Typemaker2_Slot_SubFlags(TYPEMAKER2_SLOT *p_struct, uint32_t p_src);
93 
94 TYPEMAKER2_SLOT_LIST *Typemaker2_Slot_List_dup(const TYPEMAKER2_SLOT_LIST *p_src);
95 
96 void Typemaker2_Slot_ReadXml(TYPEMAKER2_SLOT *p_struct, GWEN_XMLNODE *p_db);
97 
98 void Typemaker2_Slot_WriteXml(const TYPEMAKER2_SLOT *p_struct, GWEN_XMLNODE *p_db);
99 
100 void Typemaker2_Slot_toXml(const TYPEMAKER2_SLOT *p_struct, GWEN_XMLNODE *p_db);
101 
102 TYPEMAKER2_SLOT *Typemaker2_Slot_fromXml(GWEN_XMLNODE *p_db);
103 
104 #ifdef __cplusplus
105 }
106 #endif
107 
108 #endif
109 
110