X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fcommon%2Fplugins%2Fplugin_list_parser.h;h=2e310dde27f6f0fa59d1f0ab558e81a9b82ba4f3;hb=bc819e6bce3bc061383b27e476882aa3babb48c6;hp=ed8597804da4d132258912006a4c3232ff54f58b;hpb=b04cf9b96466d8ff66692a8e5d84a440bc9366f3;p=platform%2Fcore%2Fappfw%2Fapp-installers.git diff --git a/src/common/plugins/plugin_list_parser.h b/src/common/plugins/plugin_list_parser.h index ed85978..2e310dd 100644 --- a/src/common/plugins/plugin_list_parser.h +++ b/src/common/plugins/plugin_list_parser.h @@ -5,14 +5,13 @@ #ifndef COMMON_PLUGINS_PLUGIN_LIST_PARSER_H_ #define COMMON_PLUGINS_PLUGIN_LIST_PARSER_H_ -#include - #include #include #include #include #include +#include #include #include #include @@ -29,16 +28,16 @@ namespace common_installer { class PluginInfo { public: PluginInfo(std::string type, std::string name, - boost::filesystem::path path, bool vitalness); + std::filesystem::path path, bool vitalness); const std::string& type() const; const std::string& name() const; - const boost::filesystem::path& path() const; + const std::filesystem::path& path() const; bool vitalness() const; private: std::string type_; std::string name_; - boost::filesystem::path path_; + std::filesystem::path path_; bool vitalness_; }; @@ -46,7 +45,7 @@ class PluginInfo { class PluginsListParser { public: using PluginList = std::vector>; - explicit PluginsListParser(const boost::filesystem::path& path) + explicit PluginsListParser(const std::filesystem::path& path) : path_(path) {} bool Parse(); @@ -69,7 +68,7 @@ class PluginsListParser { bool ValidName(const std::string& name); bool ValidPath(const std::string& path); - const boost::filesystem::path path_; + const std::filesystem::path path_; std::vector> plugin_info_list_; };