mchecknode.h
Go to the documentation of this file.00001
00026 #ifndef _MGUI_WIDGET_CHECKNODE_H
00027 #define _MGUI_WIDGET_CHECKNODE_H
00028
00029 typedef struct _mCheckNode mCheckNode;
00030 typedef struct _mCheckNodeClass mCheckNodeClass;
00031
00032 #define mCheckNodeHeader(className) \
00033 mNodeHeader(className) \
00034 BOOL isChecked;
00035
00036 struct _mCheckNode
00037 {
00038 mCheckNodeHeader(mCheckNode)
00039 };
00040
00041 #define mCheckNodeClassHeader(clsName, superCls) \
00042 mNodeClassHeader(clsName, superCls) \
00043 BOOL (*setCheck)(clsName* , BOOL isCheck);
00044
00045 struct _mCheckNodeClass
00046 {
00047 mCheckNodeClassHeader(mCheckNode, mNode)
00048 };
00049
00050 MGNCS_EXPORT extern mCheckNodeClass g_stmCheckNodeCls;
00051
00052 #ifdef __cplusplus
00053 extern "C" {
00054 #endif
00055
00056 #ifdef __cplusplus
00057 }
00058 #endif
00059
00060 #endif
00061