00001 /* This file is auto-generated from "st_vardef.xml" by the typemaker 00002 tool of Gwenhywfar. 00003 Do not edit this file -- all changes will be lost! */ 00004 #ifndef ST_VARDEF_H 00005 #define ST_VARDEF_H 00006 00037 #ifdef __cplusplus 00038 extern "C" { 00039 #endif 00040 00041 typedef struct GWEN_STO_VARDEF GWEN_STO_VARDEF; 00042 00043 #ifdef __cplusplus 00044 } /* __cplusplus */ 00045 #endif 00046 00047 #include <gwenhywfar/db.h> 00048 #include <gwenhywfar/misc.h> 00049 /* headers */ 00050 #include <gwenhywfar/gwenhywfarapi.h> 00051 00052 #ifdef __cplusplus 00053 extern "C" { 00054 #endif 00055 00056 00057 GWEN_LIST_FUNCTION_LIB_DEFS(GWEN_STO_VARDEF, GWEN_StoVarDef, GWENHYWFAR_API) 00058 GWENHYWFAR_API GWEN_STO_VARDEF_LIST *GWEN_StoVarDef_List_dup(const GWEN_STO_VARDEF_LIST *stl); 00059 00062 GWENHYWFAR_API GWEN_STO_VARDEF *GWEN_StoVarDef_new(); 00065 GWENHYWFAR_API GWEN_STO_VARDEF *GWEN_StoVarDef_fromDb(GWEN_DB_NODE *db); 00068 GWENHYWFAR_API GWEN_STO_VARDEF *GWEN_StoVarDef_dup(const GWEN_STO_VARDEF*st); 00071 GWENHYWFAR_API void GWEN_StoVarDef_free(GWEN_STO_VARDEF *st); 00074 GWENHYWFAR_API void GWEN_StoVarDef_Attach(GWEN_STO_VARDEF *st); 00077 GWENHYWFAR_API int GWEN_StoVarDef_ReadDb(GWEN_STO_VARDEF *st, GWEN_DB_NODE *db); 00080 GWENHYWFAR_API int GWEN_StoVarDef_toDb(const GWEN_STO_VARDEF*st, GWEN_DB_NODE *db); 00083 GWENHYWFAR_API int GWEN_StoVarDef_IsModified(const GWEN_STO_VARDEF *st); 00086 GWENHYWFAR_API void GWEN_StoVarDef_SetModified(GWEN_STO_VARDEF *st, int i); 00087 00091 GWENHYWFAR_API const char *GWEN_StoVarDef_GetName(const GWEN_STO_VARDEF *el); 00095 GWENHYWFAR_API void GWEN_StoVarDef_SetName(GWEN_STO_VARDEF *el, const char *d); 00096 00100 GWENHYWFAR_API int GWEN_StoVarDef_GetMinNum(const GWEN_STO_VARDEF *el); 00104 GWENHYWFAR_API void GWEN_StoVarDef_SetMinNum(GWEN_STO_VARDEF *el, int d); 00105 00109 GWENHYWFAR_API int GWEN_StoVarDef_GetMaxNum(const GWEN_STO_VARDEF *el); 00113 GWENHYWFAR_API void GWEN_StoVarDef_SetMaxNum(GWEN_STO_VARDEF *el, int d); 00114 00115 00116 #ifdef __cplusplus 00117 } /* __cplusplus */ 00118 #endif 00119 00120 00121 #endif /* ST_VARDEF_H */