diff --git a/android/native/jni/input_android.c b/android/native/jni/input_android.c index 5dec38cae9..cba53c073b 100644 --- a/android/native/jni/input_android.c +++ b/android/native/jni/input_android.c @@ -16,8 +16,8 @@ #include #include -#include "android_glue.h" #include "input_autodetect.h" +#include "../../../frontend/frontend_android.h" #include "../../../input/input_common.h" #include "../../../performance.h" #include "../../../general.h" diff --git a/android/native/jni/input_autodetect.c b/android/native/jni/input_autodetect.c index b472b33a8b..4d2430c81a 100644 --- a/android/native/jni/input_autodetect.c +++ b/android/native/jni/input_autodetect.c @@ -14,7 +14,7 @@ * If not, see . */ -#include "android_glue.h" +#include "../../../frontend/frontend_android.h" #include "jni_macros.h" #include "input_autodetect.h" diff --git a/frontend/frontend_android.c b/frontend/frontend_android.c index 72e30dce75..cee92d11dc 100644 --- a/frontend/frontend_android.c +++ b/frontend/frontend_android.c @@ -20,7 +20,7 @@ #include #include -#include "../android/native/jni/android_glue.h" +#include "frontend_android.h" #include "../android/native/jni/jni_macros.h" #include "../general.h" #include "../performance.h" diff --git a/android/native/jni/android_glue.h b/frontend/frontend_android.h similarity index 79% rename from android/native/jni/android_glue.h rename to frontend/frontend_android.h index 26a4b2a7eb..16e6f21f9f 100644 --- a/android/native/jni/android_glue.h +++ b/frontend/frontend_android.h @@ -1,22 +1,21 @@ -/* - * Copyright (C) 2010 The Android Open Source Project +/* RetroArch - A frontend for libretro. + * Copyright (C) 2010-2013 - Hans-Kristian Arntzen + * Copyright (C) 2011-2013 - Daniel De Matteis + * + * RetroArch is free software: you can redistribute it and/or modify it under the terms + * of the GNU General Public License as published by the Free Software Found- + * ation, either version 3 of the License, or (at your option) any later version. * - * 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. + * RetroArch is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; + * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR + * PURPOSE. See the GNU General Public License for more details. * + * You should have received a copy of the GNU General Public License along with RetroArch. + * If not, see . */ -#ifndef _ANDROID_NATIVE_APP_GLUE_H -#define _ANDROID_NATIVE_APP_GLUE_H +#ifndef _FRONTEND_ANDROID_H +#define _FRONTEND_ANDROID_H #include #include @@ -160,4 +159,4 @@ extern void engine_handle_cmd (void *data, int32_t cmd); extern struct android_app *g_android; -#endif /* _ANDROID_NATIVE_APP_GLUE_H */ +#endif /* _FRONTEND_ANDROID_H */ diff --git a/gfx/context/androidegl_ctx.c b/gfx/context/androidegl_ctx.c index c4bd399527..ff7956a08b 100644 --- a/gfx/context/androidegl_ctx.c +++ b/gfx/context/androidegl_ctx.c @@ -20,7 +20,7 @@ #include /* Requires NDK r5 or newer */ -#include "../../android/native/jni/android_glue.h" +#include "../../frontend/frontend_android.h" #include "../image.h" #include "../fonts/gl_font.h"