tizen 2.3.1 release
[apps/home/installer.git] / include / installer_package_manager.h
1 #ifndef __INSTALLER_MANAGER_H_
2 #define __INSTALLER_MANAGER_H_
3
4 #include <package-manager-types.h>
5
6 #ifdef __cplusplus
7 extern "C" {
8 #endif
9
10 bool is_package_installed(const char *pkgid);
11 int get_package_version(const char *pkgid, char **version);
12 int launch_install_service(const char *pkg_path, const package_manager_pkg_detail_info_t *pkg_info);
13 package_manager_pkg_detail_info_t* get_package_info_from_file(const char *file_path);
14
15 #ifdef __cplusplus
16 }
17 #endif
18
19 #endif //__INSTALLER_MANAGER_H_