aboutsummaryrefslogtreecommitdiffstats
path: root/ingen
diff options
context:
space:
mode:
Diffstat (limited to 'ingen')
-rw-r--r--ingen/ColorContext.hpp4
-rw-r--r--ingen/FilePath.hpp18
2 files changed, 13 insertions, 9 deletions
diff --git a/ingen/ColorContext.hpp b/ingen/ColorContext.hpp
index 46e291a3..aadb2980 100644
--- a/ingen/ColorContext.hpp
+++ b/ingen/ColorContext.hpp
@@ -17,11 +17,13 @@
#ifndef INGEN_COLORCONTEXT_HPP
#define INGEN_COLORCONTEXT_HPP
+#include "ingen/ingen.h"
+
#include <cstdio>
namespace ingen {
-class ColorContext {
+class INGEN_API ColorContext {
public:
enum class Color { RED = 31, GREEN, YELLOW, BLUE, MAGENTA, CYAN, WHITE };
diff --git a/ingen/FilePath.hpp b/ingen/FilePath.hpp
index 57cd47be..376411ec 100644
--- a/ingen/FilePath.hpp
+++ b/ingen/FilePath.hpp
@@ -17,6 +17,8 @@
#ifndef INGEN_FILE_PATH_HPP
#define INGEN_FILE_PATH_HPP
+#include "ingen/ingen.h"
+
#include <boost/utility/string_view.hpp>
#include <ostream>
@@ -35,7 +37,7 @@ namespace ingen {
* Support for Windows paths is only partial and there is no support for
* character encoding conversion at all.
*/
-class FilePath
+class INGEN_API FilePath
{
public:
#ifdef USE_WINDOWS_FILE_PATHS
@@ -102,14 +104,14 @@ private:
string_type _str;
};
-bool operator==(const FilePath& lhs, const FilePath& rhs) noexcept;
-bool operator!=(const FilePath& lhs, const FilePath& rhs) noexcept;
-bool operator<(const FilePath& lhs, const FilePath& rhs) noexcept;
-bool operator<=(const FilePath& lhs, const FilePath& rhs) noexcept;
-bool operator>(const FilePath& lhs, const FilePath& rhs) noexcept;
-bool operator>=(const FilePath& lhs, const FilePath& rhs) noexcept;
+INGEN_API bool operator==(const FilePath& lhs, const FilePath& rhs) noexcept;
+INGEN_API bool operator!=(const FilePath& lhs, const FilePath& rhs) noexcept;
+INGEN_API bool operator<(const FilePath& lhs, const FilePath& rhs) noexcept;
+INGEN_API bool operator<=(const FilePath& lhs, const FilePath& rhs) noexcept;
+INGEN_API bool operator>(const FilePath& lhs, const FilePath& rhs) noexcept;
+INGEN_API bool operator>=(const FilePath& lhs, const FilePath& rhs) noexcept;
-FilePath operator/(const FilePath& lhs, const FilePath& rhs);
+INGEN_API FilePath operator/(const FilePath& lhs, const FilePath& rhs);
template <typename Char, typename Traits>
std::basic_ostream<Char, Traits>&