mirror of https://github.com/buggins/dlangui.git
Android: move platform code to dlangui.platforms.android.androidapp -- #119
This commit is contained in:
parent
b528a96e3b
commit
a315a9bdae
|
@ -5,7 +5,6 @@ LOCAL_MODULE=dlangui-activity
|
||||||
|
|
||||||
# applicatino source files
|
# applicatino source files
|
||||||
LOCAL_SRC_FILES="\
|
LOCAL_SRC_FILES="\
|
||||||
jni/main.d \
|
|
||||||
jni/app.d \
|
jni/app.d \
|
||||||
"
|
"
|
||||||
|
|
||||||
|
|
|
@ -1,21 +1,6 @@
|
||||||
/*
|
module dlangui.platforms.android.androidapp;
|
||||||
* Copyright (C) 2010 The Android Open Source Project
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
//version(Android):
|
version(Android):
|
||||||
|
|
||||||
import core.stdc.stdlib : malloc;
|
import core.stdc.stdlib : malloc;
|
||||||
import core.stdc.string : memset;
|
import core.stdc.string : memset;
|
||||||
|
@ -25,12 +10,8 @@ import dlangui.widgets.styles;
|
||||||
import dlangui.graphics.drawbuf;
|
import dlangui.graphics.drawbuf;
|
||||||
import dlangui.graphics.gldrawbuf;
|
import dlangui.graphics.gldrawbuf;
|
||||||
import dlangui.graphics.glsupport;
|
import dlangui.graphics.glsupport;
|
||||||
//import dlangui.widgets.widget;
|
|
||||||
import dlangui.platforms.common.platform;
|
import dlangui.platforms.common.platform;
|
||||||
|
|
||||||
//import EGL.eglplatform : EGLint;
|
|
||||||
//import EGL.egl, GLES.gl;
|
|
||||||
|
|
||||||
import android.input, android.looper : ALooper_pollAll;
|
import android.input, android.looper : ALooper_pollAll;
|
||||||
import android.native_window : ANativeWindow_setBuffersGeometry;
|
import android.native_window : ANativeWindow_setBuffersGeometry;
|
||||||
import android.sensor, android.log, android.android_native_app_glue;
|
import android.sensor, android.log, android.android_native_app_glue;
|
Loading…
Reference in New Issue