aboutsummaryrefslogtreecommitdiffstats
path: root/ingen/FilePath.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-04-13 15:24:45 +0200
committerDavid Robillard <d@drobilla.net>2019-04-13 15:45:24 +0200
commitf48f9d69a541d758dc9928c0c89eae46819e660f (patch)
tree02be74793112d8b25a21728d326fe5d90afcf42a /ingen/FilePath.hpp
parent72eb24e672bc4fb7f3c1102f2b95c01527688afd (diff)
downloadingen-f48f9d69a541d758dc9928c0c89eae46819e660f.tar.gz
ingen-f48f9d69a541d758dc9928c0c89eae46819e660f.tar.bz2
ingen-f48f9d69a541d758dc9928c0c89eae46819e660f.zip
Clean up symbol table
Diffstat (limited to 'ingen/FilePath.hpp')
-rw-r--r--ingen/FilePath.hpp18
1 files changed, 10 insertions, 8 deletions
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>&