1 /********************************************************** 2 * This file has been automatically created by "typemaker2" 3 * from the file "param.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 GWEN_PARAM_PARAM_P_H 9 #define GWEN_PARAM_PARAM_P_H 10 11 #include "./param.h" 12 13 14 #ifdef __cplusplus 15 extern "C" { 16 #endif 17 18 struct GWEN_PARAM { 19 GWEN_LIST_ELEMENT(GWEN_PARAM) 20 GWEN_TREE_ELEMENT(GWEN_PARAM) 21 int _refCount; 22 char *name; 23 uint32_t flags; 24 GWEN_PARAM_TYPE type; 25 GWEN_PARAM_DATATYPE dataType; 26 char *shortDescription; 27 char *longDescription; 28 char *currentValue; 29 char *defaultValue; 30 GWEN_STRINGLIST2 *choices; 31 int internalIntValue; /* volatile */ 32 double internalFloatValue; /* volatile */ 33 uint32_t runtimeFlags; /* volatile */ 34 }; 35 36 /** Getter. 37 * Use this function to get the member "internalIntValue" (see @ref GWEN_PARAM_internalIntValue) 38 */ 39 int GWEN_Param_GetInternalIntValue(const GWEN_PARAM *p_struct); 40 41 /** Getter. 42 * Use this function to get the member "internalFloatValue" (see @ref GWEN_PARAM_internalFloatValue) 43 */ 44 double GWEN_Param_GetInternalFloatValue(const GWEN_PARAM *p_struct); 45 46 /** Setter. 47 * Use this function to set the member "internalIntValue" (see @ref GWEN_PARAM_internalIntValue) 48 */ 49 void GWEN_Param_SetInternalIntValue(GWEN_PARAM *p_struct, int p_src); 50 51 /** Setter. 52 * Use this function to set the member "internalFloatValue" (see @ref GWEN_PARAM_internalFloatValue) 53 */ 54 void GWEN_Param_SetInternalFloatValue(GWEN_PARAM *p_struct, double p_src); 55 56 #ifdef __cplusplus 57 } 58 #endif 59 60 #endif 61 62