Panda3D
config_android.h
1 // Filename: config_android.h
2 // Created by: rdb (12Jan13)
3 //
4 ////////////////////////////////////////////////////////////////////
5 //
6 // PANDA 3D SOFTWARE
7 // Copyright (c) Carnegie Mellon University. All rights reserved.
8 //
9 // All use of this software is subject to the terms of the revised BSD
10 // license. You should have received a copy of this license along
11 // with this source code in a file named "LICENSE."
12 //
13 ////////////////////////////////////////////////////////////////////
14 
15 #ifndef CONFIG_ANDROID_H
16 #define CONFIG_ANDROID_H
17 
18 #include "pandabase.h"
19 #include "notifyCategoryProxy.h"
20 #include "configVariableString.h"
21 #include "configVariableBool.h"
22 #include "configVariableInt.h"
23 
24 #include <jni.h>
25 
26 NotifyCategoryDeclNoExport(android);
27 extern void init_libandroid();
28 
29 extern struct android_app* panda_android_app;
30 
31 extern jclass jni_PandaActivity;
32 extern jmethodID jni_PandaActivity_readBitmapHeader;
33 extern jmethodID jni_PandaActivity_readBitmap;
34 
35 extern jclass jni_BitmapFactory_Options;
36 extern jfieldID jni_BitmapFactory_Options_outWidth;
37 extern jfieldID jni_BitmapFactory_Options_outHeight;
38 
39 #endif