1 // Copyright (c) 2014 Intel Corporation. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef XWALK_APPLICATION_TOOLS_TIZEN_XWALK_PKG_INSTALLER_H_
6 #define XWALK_APPLICATION_TOOLS_TIZEN_XWALK_PKG_INSTALLER_H_
9 #include <pkgmgr_installer.h>
16 explicit PkgInstaller(const std::string& appid);
18 bool InstallApplication(const std::string& xmlpath,
19 const std::string& iconpath);
20 bool UninstallApplication();
28 bool ParseManifest(RequestType type, const std::string& xmlpath);
29 bool SendSignal(const std::string& key, const std::string& value);
31 pkgmgr_installer* handle_;
37 #endif // XWALK_APPLICATION_TOOLS_TIZEN_XWALK_PKG_INSTALLER_H_