blob: d5d104f896a63bfae4c2c7eeadde6982dfc7b26c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
--- include/Savitar/Namespace.h.orig 2023-09-08 18:09:36 UTC
+++ include/Savitar/Namespace.h
@@ -10,6 +10,8 @@
#include <pugixml.hpp>
+#include "SavitarExport.h"
+
namespace xml_namespace
{
using xmlns_map_t = std::map<std::string, std::set<std::string>>;
@@ -17,8 +19,8 @@ using xmlns_map_t = std::map<std::string, std::set<std
[[nodiscard]] std::string getCuraUri();
[[nodiscard]] std::string getDefaultUri();
-[[nodiscard]] xmlns_map_t getAncestralNamespaces(const pugi::xml_node& xml_node);
-[[nodiscard]] std::set<std::string> getNamesFor(const xmlns_map_t& map, const std::string& uri);
+[[nodiscard]] xmlns_map_t SAVITAR_EXPORT getAncestralNamespaces(const pugi::xml_node& xml_node);
+[[nodiscard]] std::set<std::string> SAVITAR_EXPORT getNamesFor(const xmlns_map_t& map, const std::string& uri);
} // namespace xml_namespace
-#endif
\ No newline at end of file
+#endif
|