Go to the documentation of this file.
32#ifndef __SO3_ANDROID_H__
33#define __SO3_ANDROID_H__
38#include <android_native_app_glue.h>
39#include <android/asset_manager.h>
42#include "OgreArchiveManager.h"
43#include "OgreFileSystem.h"
47#ifdef SO3_STATIC_BUILD
50# ifdef SO3_NON_CLIENT_BUILD
51# define _SO3_Export __attribute__ ((visibility ("default")))
62#define WPARAM SCOL_PTR_TYPE
63#define LPARAM SCOL_PTR_TYPE
67#define SO3_PLUGIN_INSTANCE void*
68#define SO3_PLUGIN_LOAD(a) dlopen(a,RTLD_LAZY)
69#define SO3_PLUGIN_UNLOAD(a) dlclose(a)
70#define SO3_PLUGIN_GET_SYMBOL(a,b) dlsym(a,b)
71#define SO3_PLUGIN_ERROR() dlerror()
74#define WM_KEYDOWN 0x0100
75#define WM_KEYUP 0x0101
77#define WM_SYSKEYDOWN 0x0104
78#define WM_SYSKEYUP 0x0105
79#define WM_SYSCHAR 0x0106
80#define WM_IME_KEYDOWN 0x0290
81#define WM_IME_KEYUP 0x0291
87#include <android/log.h>
88#define LOG_TAG "ScolApp"
89#define LOGI(...) __android_log_print(ANDROID_LOG_INFO, LOG_TAG, __VA_ARGS__)
90#define LOGW(...) __android_log_print(ANDROID_LOG_WARN, LOG_TAG, __VA_ARGS__)
91#define LOGE(...) __android_log_print(ANDROID_LOG_ERROR, LOG_TAG, __VA_ARGS__)
Loading...