Remove boost dependency
[platform/core/appfw/app-installers.git] / src / common / plugins / plugin_xml_parser.h
index d747d06..d4e0432 100644 (file)
@@ -5,10 +5,9 @@
 #ifndef COMMON_PLUGINS_PLUGIN_XML_PARSER_H_
 #define COMMON_PLUGINS_PLUGIN_XML_PARSER_H_
 
-#include <boost/filesystem/path.hpp>
-
 #include <libxml2/libxml/xmlreader.h>
 
+#include <filesystem>
 #include <string>
 #include <vector>
 #include <set>
@@ -18,7 +17,7 @@ namespace common_installer {
 /** this class parse xml file*/
 class PluginsXmlParser {
  public:
-  explicit PluginsXmlParser(const boost::filesystem::path& path)
+  explicit PluginsXmlParser(const std::filesystem::path& path)
       : path_(path), doc_ptr_(nullptr) {}
   ~PluginsXmlParser();
   bool Parse();
@@ -26,7 +25,7 @@ class PluginsXmlParser {
   xmlDocPtr doc_ptr();
 
  private:
-  const boost::filesystem::path path_;
+  const std::filesystem::path path_;
   xmlDocPtr doc_ptr_;
   std::vector<std::string> tags_;
   int NextChildElement(xmlTextReaderPtr reader, int depth);