st_log.h

Go to the documentation of this file.
00001 /* This file is auto-generated from "st_log.xml" by the typemaker
00002    tool of Gwenhywfar. 
00003    Do not edit this file -- all changes will be lost! */
00004 #ifndef ST_LOG_H
00005 #define ST_LOG_H
00006 
00082 #ifdef __cplusplus
00083 extern "C" {
00084 #endif
00085 
00086 typedef struct GWEN_STO_LOG GWEN_STO_LOG;
00087 
00088 #ifdef __cplusplus
00089 } /* __cplusplus */
00090 #endif
00091 
00092 #include <gwenhywfar/db.h>
00093 #include <gwenhywfar/misc.h>
00094 /* headers */
00095 #include <gwenhywfar/gwenhywfarapi.h>
00096 
00097 #ifdef __cplusplus
00098 extern "C" {
00099 #endif
00100 
00101 typedef enum {
00102   GWEN_StoLog_ActionUnknown=-1,
00104   GWEN_StoLog_ActionNone=0,
00106   GWEN_StoLog_ActionTypeCreate,
00108   GWEN_StoLog_ActionTypeDelete,
00110   GWEN_StoLog_ActionTypeAddVar,
00112   GWEN_StoLog_ActionObjectCreate,
00114   GWEN_StoLog_ActionObjectDelete,
00116   GWEN_StoLog_ActionObjectSetValue,
00118   GWEN_StoLog_ActionObjectIncRef,
00120   GWEN_StoLog_ActionObjectDecRef,
00122   GWEN_StoLog_ActionBeginEdit,
00124   GWEN_StoLog_ActionEndEdit,
00126   GWEN_StoLog_ActionBeginSession,
00128   GWEN_StoLog_ActionEndSession
00129 } GWEN_STO_LOG_ACTION;
00130 
00131 GWENHYWFAR_API GWEN_STO_LOG_ACTION GWEN_StoLog_Action_fromString(const char *s);
00132 GWENHYWFAR_API const char *GWEN_StoLog_Action_toString(GWEN_STO_LOG_ACTION v);
00133 
00134 
00135 GWEN_LIST_FUNCTION_LIB_DEFS(GWEN_STO_LOG, GWEN_StoLog, GWENHYWFAR_API)
00136 GWENHYWFAR_API GWEN_STO_LOG_LIST *GWEN_StoLog_List_dup(const GWEN_STO_LOG_LIST *stl);
00137 
00140 GWENHYWFAR_API GWEN_STO_LOG *GWEN_StoLog_new();
00143 GWENHYWFAR_API GWEN_STO_LOG *GWEN_StoLog_fromDb(GWEN_DB_NODE *db);
00146 GWENHYWFAR_API GWEN_STO_LOG *GWEN_StoLog_dup(const GWEN_STO_LOG*st);
00149 GWENHYWFAR_API void GWEN_StoLog_free(GWEN_STO_LOG *st);
00152 GWENHYWFAR_API void GWEN_StoLog_Attach(GWEN_STO_LOG *st);
00155 GWENHYWFAR_API int GWEN_StoLog_ReadDb(GWEN_STO_LOG *st, GWEN_DB_NODE *db);
00158 GWENHYWFAR_API int GWEN_StoLog_toDb(const GWEN_STO_LOG*st, GWEN_DB_NODE *db);
00161 GWENHYWFAR_API int GWEN_StoLog_IsModified(const GWEN_STO_LOG *st);
00164 GWENHYWFAR_API void GWEN_StoLog_SetModified(GWEN_STO_LOG *st, int i);
00165 
00166 
00170 GWENHYWFAR_API const char *GWEN_StoLog_GetUserName(const GWEN_STO_LOG *el);
00174 GWENHYWFAR_API void GWEN_StoLog_SetUserName(GWEN_STO_LOG *el, const char *d);
00175 
00179 GWENHYWFAR_API GWEN_STO_LOG_ACTION GWEN_StoLog_GetLogAction(const GWEN_STO_LOG *el);
00183 GWENHYWFAR_API void GWEN_StoLog_SetLogAction(GWEN_STO_LOG *el, GWEN_STO_LOG_ACTION d);
00184 
00188 GWENHYWFAR_API const char *GWEN_StoLog_GetTypeBaseName(const GWEN_STO_LOG *el);
00192 GWENHYWFAR_API void GWEN_StoLog_SetTypeBaseName(GWEN_STO_LOG *el, const char *d);
00193 
00197 GWENHYWFAR_API const char *GWEN_StoLog_GetTypeName(const GWEN_STO_LOG *el);
00201 GWENHYWFAR_API void GWEN_StoLog_SetTypeName(GWEN_STO_LOG *el, const char *d);
00202 
00206 GWENHYWFAR_API GWEN_TYPE_UINT32 GWEN_StoLog_GetObjectId(const GWEN_STO_LOG *el);
00210 GWENHYWFAR_API void GWEN_StoLog_SetObjectId(GWEN_STO_LOG *el, GWEN_TYPE_UINT32 d);
00211 
00215 GWENHYWFAR_API const char *GWEN_StoLog_GetParam1(const GWEN_STO_LOG *el);
00219 GWENHYWFAR_API void GWEN_StoLog_SetParam1(GWEN_STO_LOG *el, const char *d);
00220 
00224 GWENHYWFAR_API const char *GWEN_StoLog_GetParam2(const GWEN_STO_LOG *el);
00228 GWENHYWFAR_API void GWEN_StoLog_SetParam2(GWEN_STO_LOG *el, const char *d);
00229 
00233 GWENHYWFAR_API const char *GWEN_StoLog_GetParam3(const GWEN_STO_LOG *el);
00237 GWENHYWFAR_API void GWEN_StoLog_SetParam3(GWEN_STO_LOG *el, const char *d);
00238 
00239 
00240 #ifdef __cplusplus
00241 } /* __cplusplus */
00242 #endif
00243 
00244 
00245 #endif /* ST_LOG_H */

Generated on Thu Nov 9 22:06:49 2006 for gwenhywfar by  doxygen 1.5.1