Browse Source

Platform: don't define ScreenedApplication for AndroidApplication.

Not done yet.
pull/107/head
Vladimír Vondruš 11 years ago
parent
commit
57f19dbbc2
  1. 3
      src/Magnum/Platform/AndroidApplication.cpp
  2. 2
      src/Magnum/Platform/AndroidApplication.h

3
src/Magnum/Platform/AndroidApplication.cpp

@ -253,7 +253,4 @@ void AndroidApplication::exec(android_app* state, std::unique_ptr<AndroidApplica
state->userData = nullptr;
}
template class BasicScreen<AndroidApplication>;
template class BasicScreenedApplication<AndroidApplication>;
}}

2
src/Magnum/Platform/AndroidApplication.h

@ -585,8 +585,6 @@ header is included this macro is also aliased to `MAGNUM_APPLICATION_MAIN()`.
#ifndef DOXYGEN_GENERATING_OUTPUT
#ifndef MAGNUM_APPLICATION_MAIN
typedef AndroidApplication Application;
typedef BasicScreen<AndroidApplication> Screen;
typedef BasicScreenedApplication<AndroidApplication> ScreenedApplication;
#define MAGNUM_APPLICATION_MAIN(className) MAGNUM_ANDROIDAPPLICATION_MAIN(className)
#else
#undef MAGNUM_APPLICATION_MAIN

Loading…
Cancel
Save