X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2FApplication%2FAppManagerWrapper.h;h=2feb9f6ee7796baf13f1aa78c3e69e34e84b1e98;hb=699166950f4817516693be01115b6285d7e07f1c;hp=d5644ebeb38b883f25faa7f3dc88f98c9053b037;hpb=9da05be8e3d6b0fdb36d2dabe2001ca7318ebba1;p=platform%2Fframework%2Fweb%2Fwrt-plugins-tizen.git diff --git a/src/Application/AppManagerWrapper.h b/src/Application/AppManagerWrapper.h index d5644eb..2feb9f6 100644 --- a/src/Application/AppManagerWrapper.h +++ b/src/Application/AppManagerWrapper.h @@ -68,6 +68,10 @@ public: bool initializeAppInfo(ApplicationInformationPtr &appInfo); + // get the current application id from WRT + void setCurrentAppId(std::string appId); + std::string getCurrentAppId() const; + private: static bool app_callback(package_info_app_component_type_e comp_type, const char *app_id, void *user_data); @@ -85,6 +89,7 @@ private: AppListChangedCallbacksSet m_callbacks; pkgmgr_client *m_manager_handle; long m_watchIdAcc; + std::string m_curr_app_id; public: std::vector applist;