projects
/
platform
/
framework
/
web
/
wrt-plugins-tizen.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update change log and spec for wrt-plugins-tizen_0.4.25-1
[platform/framework/web/wrt-plugins-tizen.git]
/
src
/
Application
/
AppManagerWrapper.h
diff --git
a/src/Application/AppManagerWrapper.h
b/src/Application/AppManagerWrapper.h
index
d5644eb
..
2feb9f6
100644
(file)
--- a/
src/Application/AppManagerWrapper.h
+++ b/
src/Application/AppManagerWrapper.h
@@
-68,6
+68,10
@@
public:
bool initializeAppInfo(ApplicationInformationPtr &appInfo);
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);
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;
AppListChangedCallbacksSet m_callbacks;
pkgmgr_client *m_manager_handle;
long m_watchIdAcc;
+ std::string m_curr_app_id;
public:
std::vector<std::string> applist;
public:
std::vector<std::string> applist;