1 // Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
2 // Use of this source code is governed by a apache 2.0 license that can be
3 // found in the LICENSE file.
5 #ifndef LIB_WGT_ARCHIVE_INFO_H_
6 #define LIB_WGT_ARCHIVE_INFO_H_
8 #include <package-manager-plugin.h>
10 #include <manifest_parser/utils/logging.h>
12 #include <common/utils/singleton.h>
14 class WgtArchiveInfo : public common_installer::Singleton<WgtArchiveInfo> {
15 CRTP_DECLARE_DEFAULT_CONSTRUCTOR_CLASS(WgtArchiveInfo)
17 bool GetArchiveInfo(const char* file_path,
18 package_manager_pkg_detail_info_t* info);
20 SCOPE_LOG_TAG(WgtArchiveInfo)
23 #endif // LIB_WGT_ARCHIVE_INFO_H_