mirror of
https://github.com/blanking003/cx-cocos.git
synced 2024-12-25 11:19:00 +00:00
14 lines
271 B
C++
14 lines
271 B
C++
|
|
#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; };
|
|
};
|
|
|