#include "xbmc.h"
#include "android/jni/Context.h"
#include "android/jni/BroadcastReceiver.h"
+#include "threads/Event.h"
// forward delares
class CJNIWakeLock;
void onLostFocus();
- static ANativeWindow* GetNativeWindow() { return m_window; };
+ static const ANativeWindow** GetNativeWindow(int timeout);
static int SetBuffersGeometry(int width, int height, int format);
static int android_printf(const char *format, ...);
pthread_t m_thread;
static ANativeWindow* m_window;
-
+ static CEvent m_windowCreated;
+
void XBMC_Pause(bool pause);
void XBMC_Stop();
bool XBMC_DestroyDisplay();