aboutsummaryrefslogtreecommitdiffstats
path: root/templates/header_preamble.kte
blob: c731c3b792765375e1834ecdc38867d58b0d77a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
@import io.github.landerlyoung.jenny.JteData
@import io.github.landerlyoung.jenny.Constants

@param jteData: JteData

${Constants.AUTO_GENERATE_NOTICE}
#pragma once

#include <jni.h>
#include <assert.h>                        

@if (jteData.mEnv.configurations.threadSafe) 
#include <atomic>
#include <mutex>
@endif

@if (jteData.mEnv.configurations.useJniHelper)
#include "jnihelper.h"
@endif

${jteData.mNamespaceHelper.beginNamespace()}
class ${jteData.mCppClassName} {

public:
    static constexpr auto FULL_CLASS_NAME = "${jteData.mSlashClassName}";