X-Git-Url: http://code.vuplus.com/gitweb/?a=blobdiff_plain;f=xbmc%2Fandroid%2Factivity%2FXBMCApp.h;h=3218be2acfa1b2441a8c30da99c19666f8a1a80f;hb=2d2eff9c723670fd76f711e94bad69fbd587438c;hp=cd7d10169a454a41f51205ac8808cbbeecc376bf;hpb=3fa08fc6b79ea8da05968edfd7734890a0a54f11;p=vuplus_xbmc diff --git a/xbmc/android/activity/XBMCApp.h b/xbmc/android/activity/XBMCApp.h index cd7d101..3218be2 100644 --- a/xbmc/android/activity/XBMCApp.h +++ b/xbmc/android/activity/XBMCApp.h @@ -86,7 +86,7 @@ public: static int GetBatteryLevel(); static bool StartActivity(const std::string &package, const std::string &intent = std::string(), const std::string &dataType = std::string(), const std::string &dataURI = std::string()); - static bool ListApplications(std::vector *applications); + static std::vector GetApplications(); static bool GetIconSize(const std::string &packageName, int *width, int *height); static bool GetIcon(const std::string &packageName, void* buffer, unsigned int bufSize); @@ -124,7 +124,9 @@ private: bool m_firstrun; bool m_exiting; pthread_t m_thread; - + static CCriticalSection m_applicationsMutex; + static std::vector m_applications; + static ANativeWindow* m_window; static CEvent m_windowCreated;