cx-cocos/cx-framework3.1/cx-native/cxSys/cxSysIntf.h

24 lines
401 B
C
Raw Permalink Normal View History

2021-06-07 07:13:32 +00:00
#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);
};