mirror of
https://github.com/Gongxh0901/kunpolibrary
synced 2025-12-06 04:39:10 +00:00
仓库中添加内置的demo
This commit is contained in:
18
demo/native/engine/common/Classes/JNIAndroid/JniTools.h
Normal file
18
demo/native/engine/common/Classes/JNIAndroid/JniTools.h
Normal file
@@ -0,0 +1,18 @@
|
||||
//
|
||||
// JniTools.hpp
|
||||
// ZumaGame
|
||||
//
|
||||
// Created by GongXH on 2021/3/26.
|
||||
//
|
||||
|
||||
#ifndef JniTools_hpp
|
||||
#define JniTools_hpp
|
||||
#include "cocos.h"
|
||||
class JniTools
|
||||
{
|
||||
public:
|
||||
//调用Java的方法
|
||||
static std::string getVersionCode();
|
||||
static int getBuildCode();
|
||||
};
|
||||
#endif /* JniTools_hpp */
|
||||
Reference in New Issue
Block a user