Remove boost dependency
[platform/core/appfw/app-installers.git] / src / pkg_initdb / manifest_loader.h
1 // Copyright (c) 2020 Samsung Electronics Co., Ltd All Rights Reserved
2 // Use of this source code is governed by an apache-2.0 license that can be
3 // found in the LICENSE file.
4
5 #ifndef PKG_INITDB_MANIFEST_LOADER_H_
6 #define PKG_INITDB_MANIFEST_LOADER_H_
7
8 #include <list>
9 #include <string>
10 #include <tuple>
11
12 namespace fs = std::filesystem;
13
14 using ManifestInfo = std::tuple<std::string, std::string, std::string>;
15
16 class ManifestLoader {
17  public:
18   explicit ManifestLoader(const std::string& path);
19   std::list<ManifestInfo> LoadManifest();
20
21  private:
22   fs::path path_;
23 };
24
25 #endif  // PKG_INITDB_MANIFEST_LOADER_H_