Update change log and spec for wrt-plugins-tizen_0.4.25-1
[platform/framework/web/wrt-plugins-tizen.git] / src / Application / AppManagerWrapper.h
index d5644eb..2feb9f6 100644 (file)
@@ -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<std::string> applist;