summaryrefslogtreecommitdiff
path: root/gentoobrowse-api/service/utils/xmlUtils.h
diff options
context:
space:
mode:
Diffstat (limited to 'gentoobrowse-api/service/utils/xmlUtils.h')
-rw-r--r--gentoobrowse-api/service/utils/xmlUtils.h19
1 files changed, 7 insertions, 12 deletions
diff --git a/gentoobrowse-api/service/utils/xmlUtils.h b/gentoobrowse-api/service/utils/xmlUtils.h
index 51da33a..0e44a73 100644
--- a/gentoobrowse-api/service/utils/xmlUtils.h
+++ b/gentoobrowse-api/service/utils/xmlUtils.h
@@ -1,19 +1,14 @@
-#ifndef GENTOOBROWSE_API_SERVICE_XMLUTILS_H
-#define GENTOOBROWSE_API_SERVICE_XMLUTILS_H
+#pragma once
#include "wrap/domparser.h"
#include <filesystem>
#include <optional>
-namespace Gentoo {
- namespace Utils {
- class XmlDoc : public xmlpp::DomParser {
- public:
- explicit XmlDoc(const std::filesystem::path &);
+namespace Gentoo::Utils {
+ class XmlDoc : public xmlpp::DomParser {
+ public:
+ explicit XmlDoc(const std::filesystem::path &);
- std::optional<Glib::ustring> getXPathValue(const Glib::ustring &);
- };
- }
+ std::optional<Glib::ustring> getXPathValue(const Glib::ustring &);
+ };
}
-
-#endif