mirror of
https://github.com/blanking003/cx-cocos.git
synced 2024-12-26 11:49:01 +00:00
21 lines
378 B
C
21 lines
378 B
C
|
|
||
|
#pragma once
|
||
|
|
||
|
#include "cxDefine.h"
|
||
|
|
||
|
class CxMaskIntf : public NativeIntfClass
|
||
|
{
|
||
|
public:
|
||
|
static CxMaskIntf* ins();
|
||
|
|
||
|
virtual std::string call(std::string fname, cc::ValueVector params, const DataCallback& callback) override;
|
||
|
|
||
|
void addNativeView(std::string maskName, void* view);
|
||
|
bool hasNativeView(std::string maskName, void* view);
|
||
|
|
||
|
private:
|
||
|
|
||
|
|
||
|
};
|
||
|
|