cx-cocos/cx-framework3.1/cx-native/cxDefine.h

14 lines
271 B
C
Raw Normal View History

2021-06-07 07:13:32 +00:00
#pragma once
#include "cocos/base/Value.h"
typedef std::function<void(int v1, std::string v2)> DataCallback;
class NativeIntfClass
{
public:
virtual std::string call(std::string fname, cc::ValueVector params, const DataCallback& callback){ return nullptr; };
};