Remove boost dependency
[platform/core/appfw/app-installers.git] / src / common / utils / manifest_util.h
1 // Copyright (c) 2015 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.
4
5 #ifndef COMMON_UTILS_MANIFEST_UTIL_H_
6 #define COMMON_UTILS_MANIFEST_UTIL_H_
7
8 #include <pkgmgr-info.h>
9 #include <pkgmgr/pkgmgr_parser.h>
10
11 #include <filesystem>
12 #include <string>
13
14 namespace fs = std::filesystem;
15
16 namespace common_installer {
17
18 manifest_x* PkgmgrGenerateManifestInfoFromDB(const std::string& pkgid,
19                                              uid_t uid);
20
21 fs::path GetManifestLocation(const std::string& pkgid,
22                              uid_t uid,
23                              bool is_readonly);
24
25 }  // namespace common_installer
26
27 #endif  // COMMON_UTILS_MANIFEST_UTIL_H_