Lugdunum  0.1.0
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
lug::Main::AndroidApp Class Reference

#include <MainAndroid.hpp>

Collaboration diagram for lug::Main::AndroidApp:
[legend]

Public Member Functions

 AndroidApp (ANativeActivity *activity, void *savedState, size_t savedStateSize)
 

Static Public Member Functions

static void onStart (ANativeActivity *activity)
 
static void onResume (ANativeActivity *activity)
 
static void * onSaveInstanceState (ANativeActivity *activity, size_t *outSize)
 
static void onPause (ANativeActivity *activity)
 
static void onStop (ANativeActivity *activity)
 
static void onDestroy (ANativeActivity *activity)
 
static void onWindowFocusChanged (ANativeActivity *activity, int hasFocus)
 
static void onNativeWindowCreated (ANativeActivity *activity, ANativeWindow *window)
 
static void onNativeWindowResized (ANativeActivity *activity, ANativeWindow *window)
 
static void onNativeWindowRedrawNeeded (ANativeActivity *activity, ANativeWindow *window)
 
static void onNativeWindowDestroyed (ANativeActivity *activity, ANativeWindow *window)
 
static void onInputQueueCreated (ANativeActivity *activity, AInputQueue *queue)
 
static void onInputQueueDestroyed (ANativeActivity *activity, AInputQueue *queue)
 
static void onContentRectChanged (ANativeActivity *activity, const ARect *rect)
 
static void onConfigurationChanged (ANativeActivity *activity)
 
static void onLowMemory (ANativeActivity *activity)
 

Private Member Functions

void shutdowApplication ()
 
void startApplication ()
 

Private Attributes

void * _savedState
 
size_t _savedStateSize
 

Detailed Description

Definition at line 11 of file MainAndroid.hpp.

Constructor & Destructor Documentation

◆ AndroidApp()

lug::Main::AndroidApp::AndroidApp ( ANativeActivity *  activity,
void *  savedState,
size_t  savedStateSize 
)

Definition at line 9 of file MainAndroid.cpp.

Member Function Documentation

◆ onStart()

void lug::Main::AndroidApp::onStart ( ANativeActivity *  activity)
static

Definition at line 55 of file MainAndroid.cpp.

◆ onResume()

void lug::Main::AndroidApp::onResume ( ANativeActivity *  activity)
static

Definition at line 57 of file MainAndroid.cpp.

◆ onSaveInstanceState()

void * lug::Main::AndroidApp::onSaveInstanceState ( ANativeActivity *  activity,
size_t outSize 
)
static

Definition at line 59 of file MainAndroid.cpp.

◆ onPause()

void lug::Main::AndroidApp::onPause ( ANativeActivity *  activity)
static

Definition at line 63 of file MainAndroid.cpp.

◆ onStop()

void lug::Main::AndroidApp::onStop ( ANativeActivity *  activity)
static

Definition at line 65 of file MainAndroid.cpp.

◆ onDestroy()

void lug::Main::AndroidApp::onDestroy ( ANativeActivity *  activity)
static

Definition at line 67 of file MainAndroid.cpp.

◆ onWindowFocusChanged()

void lug::Main::AndroidApp::onWindowFocusChanged ( ANativeActivity *  activity,
int  hasFocus 
)
static

Definition at line 74 of file MainAndroid.cpp.

◆ onNativeWindowCreated()

void lug::Main::AndroidApp::onNativeWindowCreated ( ANativeActivity *  activity,
ANativeWindow *  window 
)
static

Definition at line 76 of file MainAndroid.cpp.

◆ onNativeWindowResized()

void lug::Main::AndroidApp::onNativeWindowResized ( ANativeActivity *  activity,
ANativeWindow *  window 
)
static

Definition at line 82 of file MainAndroid.cpp.

◆ onNativeWindowRedrawNeeded()

void lug::Main::AndroidApp::onNativeWindowRedrawNeeded ( ANativeActivity *  activity,
ANativeWindow *  window 
)
static

Definition at line 84 of file MainAndroid.cpp.

◆ onNativeWindowDestroyed()

void lug::Main::AndroidApp::onNativeWindowDestroyed ( ANativeActivity *  activity,
ANativeWindow *  window 
)
static

Definition at line 86 of file MainAndroid.cpp.

◆ onInputQueueCreated()

void lug::Main::AndroidApp::onInputQueueCreated ( ANativeActivity *  activity,
AInputQueue *  queue 
)
static

Definition at line 91 of file MainAndroid.cpp.

◆ onInputQueueDestroyed()

void lug::Main::AndroidApp::onInputQueueDestroyed ( ANativeActivity *  activity,
AInputQueue *  queue 
)
static

Definition at line 96 of file MainAndroid.cpp.

◆ onContentRectChanged()

void lug::Main::AndroidApp::onContentRectChanged ( ANativeActivity *  activity,
const ARect *  rect 
)
static

Definition at line 101 of file MainAndroid.cpp.

◆ onConfigurationChanged()

void lug::Main::AndroidApp::onConfigurationChanged ( ANativeActivity *  activity)
static

Definition at line 103 of file MainAndroid.cpp.

◆ onLowMemory()

void lug::Main::AndroidApp::onLowMemory ( ANativeActivity *  activity)
static

Definition at line 105 of file MainAndroid.cpp.

◆ shutdowApplication()

void lug::Main::AndroidApp::shutdowApplication ( )
private

Definition at line 40 of file MainAndroid.cpp.

◆ startApplication()

void lug::Main::AndroidApp::startApplication ( )
private

Definition at line 50 of file MainAndroid.cpp.

Member Data Documentation

◆ _savedState

void* lug::Main::AndroidApp::_savedState
private

Definition at line 37 of file MainAndroid.hpp.

◆ _savedStateSize

size_t lug::Main::AndroidApp::_savedStateSize
private

Definition at line 38 of file MainAndroid.hpp.


The documentation for this class was generated from the following files: