KVIrc
4.9.2
DeveloperAPIs
|
#include "KviKvsKernel.h"
#include "KviKvsObject.h"
#include "KviKvsObjectClass.h"
#include "KviKvsObjectController.h"
#include "KviKvsObjectFunctionCall.h"
Go to the source code of this file.
Macros | |
#define | CHECK_HOBJECT_IS_WIDGET(__pObject) |
#define | CHECK_INTERNAL_POINTER(__pointer) |
#define | KVSO_BEGIN_CONSTRUCTOR(__className, __baseClass) |
#define | KVSO_BEGIN_DESTRUCTOR(__className) |
#define | KVSO_BEGIN_REGISTERCLASS(__className, __stringName, __baseClass) |
#define | KVSO_CLASS_FUNCTION(__className, __functionName) bool KvsObject_##__className::__functionName(KviKvsObjectFunctionCall * c) |
#define | KVSO_DECLARE_OBJECT(__className) |
#define | KVSO_END_CONSTRUCTOR(__className) } |
#define | KVSO_END_DESTRUCTOR(__className) } |
#define | KVSO_END_REGISTERCLASS(__className) } |
#define | KVSO_REGISTER_HANDLER(__className, __szName, __proc) g_pKvs##__className##Class->registerFunctionHandler(__szName, (KviKvsObjectFunctionHandlerProc)(KVI_PTR2MEMBER(__className::__proc))); |
#define | KVSO_REGISTER_HANDLER_BY_NAME(__className, __szName) g_pKvs##__className##Class->registerFunctionHandler(#__szName, (KviKvsObjectFunctionHandlerProc)(KVI_PTR2MEMBER(__className::__szName))); |
#define | KVSO_REGISTER_STANDARD_FALSERETURN_HANDLER(__className, __szName) g_pKvs##__className##Class->registerStandardFalseReturnFunctionHandler(__szName); |
#define | KVSO_REGISTER_STANDARD_NOTHINGRETURN_HANDLER(__className, __szName) g_pKvs##__className##Class->registerStandardNothingReturnFunctionHandler(__szName); |
#define | KVSO_REGISTER_STANDARD_TRUERETURN_HANDLER(__className, __szName) g_pKvs##__className##Class->registerStandardTrueReturnFunctionHandler(__szName); |
#define | SET_OBJECT(__className) |
#define CHECK_HOBJECT_IS_WIDGET | ( | __pObject | ) |
Referenced by KVSO_CLASS_FUNCTION().
#define CHECK_INTERNAL_POINTER | ( | __pointer | ) |
Referenced by KvsObject_http::functionAbort(), KvsObject_http::functionCurrentId(), KvsObject_http::functionErrorString(), KvsObject_http::functionGet(), KvsObject_http::functionPost(), KvsObject_http::functionReadAll(), KvsObject_http::functionSetHost(), KvsObject_http::functionSetProxy(), KvsObject_http::functionSetUser(), and KVSO_CLASS_FUNCTION().
#define KVSO_BEGIN_CONSTRUCTOR | ( | __className, | |
__baseClass | |||
) |
#define KVSO_BEGIN_DESTRUCTOR | ( | __className | ) |
#define KVSO_BEGIN_REGISTERCLASS | ( | __className, | |
__stringName, | |||
__baseClass | |||
) |
#define KVSO_CLASS_FUNCTION | ( | __className, | |
__functionName | |||
) | bool KvsObject_##__className::__functionName(KviKvsObjectFunctionCall * c) |
#define KVSO_DECLARE_OBJECT | ( | __className | ) |
#define KVSO_END_CONSTRUCTOR | ( | __className | ) | } |
#define KVSO_END_DESTRUCTOR | ( | __className | ) | } |
#define KVSO_END_REGISTERCLASS | ( | __className | ) | } |
#define KVSO_REGISTER_HANDLER | ( | __className, | |
__szName, | |||
__proc | |||
) | g_pKvs##__className##Class->registerFunctionHandler(__szName, (KviKvsObjectFunctionHandlerProc)(KVI_PTR2MEMBER(__className::__proc))); |
#define KVSO_REGISTER_HANDLER_BY_NAME | ( | __className, | |
__szName | |||
) | g_pKvs##__className##Class->registerFunctionHandler(#__szName, (KviKvsObjectFunctionHandlerProc)(KVI_PTR2MEMBER(__className::__szName))); |
#define KVSO_REGISTER_STANDARD_FALSERETURN_HANDLER | ( | __className, | |
__szName | |||
) | g_pKvs##__className##Class->registerStandardFalseReturnFunctionHandler(__szName); |
#define KVSO_REGISTER_STANDARD_NOTHINGRETURN_HANDLER | ( | __className, | |
__szName | |||
) | g_pKvs##__className##Class->registerStandardNothingReturnFunctionHandler(__szName); |
#define KVSO_REGISTER_STANDARD_TRUERETURN_HANDLER | ( | __className, | |
__szName | |||
) | g_pKvs##__className##Class->registerStandardTrueReturnFunctionHandler(__szName); |
#define SET_OBJECT | ( | __className | ) |
Referenced by KvsObject_lcd::init(), KvsObject_label::init(), KvsObject_toolBar::init(), KvsObject_progressBar::init(), KvsObject_menuBar::init(), KvsObject_textedit::init(), KvsObject_tabWidget::init(), KvsObject_toolButton::init(), KvsObject_spinBox::init(), KvsObject_vBox::init(), KvsObject_workspace::init(), KvsObject_radioButton::init(), KvsObject_listWidget::init(), KvsObject_slider::init(), KvsObject_button::init(), KvsObject_textBrowser::init(), KvsObject_comboBox::init(), KvsObject_popupMenu::init(), KvsObject_lineEdit::init(), and KvsObject_tableWidget::init().