mirror of
https://github.com/blanking003/cx-cocos.git
synced 2024-12-26 11:49:01 +00:00
24 lines
401 B
C
24 lines
401 B
C
|
|
||
|
#pragma once
|
||
|
|
||
|
#include "cxDefine.h"
|
||
|
#include "cocos/bindings/event/EventDispatcher.h"
|
||
|
|
||
|
class CxSysIntf : public NativeIntfClass
|
||
|
{
|
||
|
public:
|
||
|
static CxSysIntf* ins();
|
||
|
|
||
|
virtual std::string call(std::string fname, cc::ValueVector params, const DataCallback& callback) override;
|
||
|
|
||
|
static DataCallback m_cxSysCallback;
|
||
|
|
||
|
private:
|
||
|
|
||
|
void restartForUpdate(cc::CustomEvent evt);
|
||
|
|
||
|
|
||
|
|
||
|
};
|
||
|
|