summaryrefslogtreecommitdiff
path: root/fxjs/cjx_logpseudomodel.h
diff options
context:
space:
mode:
Diffstat (limited to 'fxjs/cjx_logpseudomodel.h')
-rw-r--r--fxjs/cjx_logpseudomodel.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/fxjs/cjx_logpseudomodel.h b/fxjs/cjx_logpseudomodel.h
index 26a47026e7..e22301e303 100644
--- a/fxjs/cjx_logpseudomodel.h
+++ b/fxjs/cjx_logpseudomodel.h
@@ -7,10 +7,9 @@
#ifndef FXJS_CJX_LOGPSEUDOMODEL_H_
#define FXJS_CJX_LOGPSEUDOMODEL_H_
+#include "fxjs/CJX_Define.h"
#include "fxjs/cjx_object.h"
-class CFXJSE_Arguments;
-class CFXJSE_Value;
class CScript_LogPseudoModel;
class CJX_LogPseudoModel : public CJX_Object {
@@ -18,11 +17,14 @@ class CJX_LogPseudoModel : public CJX_Object {
explicit CJX_LogPseudoModel(CScript_LogPseudoModel* model);
~CJX_LogPseudoModel() override;
- void Message(CFXJSE_Arguments* pArguments);
- void TraceEnabled(CFXJSE_Arguments* pArguments);
- void TraceActivate(CFXJSE_Arguments* pArguments);
- void TraceDeactivate(CFXJSE_Arguments* pArguments);
- void Trace(CFXJSE_Arguments* pArguments);
+ JS_METHOD(message, CJX_LogPseudoModel);
+ JS_METHOD(traceEnabled, CJX_LogPseudoModel);
+ JS_METHOD(traceActivate, CJX_LogPseudoModel);
+ JS_METHOD(traceDeactivate, CJX_LogPseudoModel);
+ JS_METHOD(trace, CJX_LogPseudoModel);
+
+ private:
+ static const CJX_MethodSpec MethodSpecs[];
};
#endif // FXJS_CJX_LOGPSEUDOMODEL_H_