Skip to content

Commit 35f8d55

Browse files
committed
MSVC DLL support
1 parent 61cdb9d commit 35f8d55

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

src/complex/Utilities/FileUtilities.hpp

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
#pragma once
3333

3434
#include "complex/Common/Result.hpp"
35+
#include "complex/complex_export.hpp"
3536

3637
#include <filesystem>
3738

@@ -40,23 +41,23 @@ namespace fs = std::filesystem;
4041
namespace complex::FileUtilities
4142
{
4243
//-----------------------------------------------------------------------------
43-
bool HasWriteAccess(const std::string& path);
44+
bool COMPLEX_EXPORT HasWriteAccess(const std::string& path);
4445

4546
//-----------------------------------------------------------------------------
46-
Result<> ValidateInputFile(const fs::path& path);
47+
Result<> COMPLEX_EXPORT ValidateInputFile(const fs::path& path);
4748

4849
//-----------------------------------------------------------------------------
49-
Result<> ValidateInputDir(const fs::path& path);
50+
Result<> COMPLEX_EXPORT ValidateInputDir(const fs::path& path);
5051

5152
//-----------------------------------------------------------------------------
52-
Result<> ValidateDirectoryWritePermission(const fs::path& path, bool isFile);
53+
Result<> COMPLEX_EXPORT ValidateDirectoryWritePermission(const fs::path& path, bool isFile);
5354

5455
//-----------------------------------------------------------------------------
55-
Result<> ValidateOutputFile(const fs::path& path);
56+
Result<> COMPLEX_EXPORT ValidateOutputFile(const fs::path& path);
5657

5758
//-----------------------------------------------------------------------------
58-
Result<> ValidateOutputDir(const fs::path& path);
59+
Result<> COMPLEX_EXPORT ValidateOutputDir(const fs::path& path);
5960

6061
//-----------------------------------------------------------------------------
61-
Result<> ValidateCSVFile(const std::string& filePath);
62+
Result<> COMPLEX_EXPORT ValidateCSVFile(const std::string& filePath);
6263
} // namespace complex::FileUtilities

0 commit comments

Comments
 (0)