diff options
| author | Claudius "keldu" Holeksa <mail@keldu.de> | 2025-11-07 13:12:07 +0100 |
|---|---|---|
| committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2025-11-07 13:12:07 +0100 |
| commit | 49dc48f1f0463e62ec9ae5eaf12c9688e14c6fb3 (patch) | |
| tree | 8b3d077282cc3fe0fa7d4614ce45477a9a990e6a /modules | |
| parent | 8867bee7244c3a67fe3eeeffeac31c80babf5e9c (diff) | |
| download | forstio-forstio-49dc48f1f0463e62ec9ae5eaf12c9688e14c6fb3.tar.gz | |
Moving declaration of rmt to common header
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/remote-filesystem/c++/common.hpp | 7 | ||||
| -rw-r--r-- | modules/remote-filesystem/c++/remote.hpp | 1 | ||||
| -rw-r--r-- | modules/remote-filesystem/c++/transfer.hpp | 7 |
3 files changed, 11 insertions, 4 deletions
diff --git a/modules/remote-filesystem/c++/common.hpp b/modules/remote-filesystem/c++/common.hpp new file mode 100644 index 0000000..8824af2 --- /dev/null +++ b/modules/remote-filesystem/c++/common.hpp @@ -0,0 +1,7 @@ +#pragma once + +namespace saw { +namespace rmt { +struct File {}; +} +} diff --git a/modules/remote-filesystem/c++/remote.hpp b/modules/remote-filesystem/c++/remote.hpp index 6660a36..1cae83d 100644 --- a/modules/remote-filesystem/c++/remote.hpp +++ b/modules/remote-filesystem/c++/remote.hpp @@ -6,6 +6,7 @@ #include <forstio/remote/remote.hpp> #include "transfer.hpp" +#include "common.hpp" namespace saw { diff --git a/modules/remote-filesystem/c++/transfer.hpp b/modules/remote-filesystem/c++/transfer.hpp index 59363ed..7f7fa77 100644 --- a/modules/remote-filesystem/c++/transfer.hpp +++ b/modules/remote-filesystem/c++/transfer.hpp @@ -1,16 +1,15 @@ #pragma once #include <forstio/buffer.hpp> -#include <forstio/remote/transfer.hpp> +#include <forstio/remote/remote.hpp> #include <fstream> #include <cstring> +#include "common.hpp" + namespace saw { -namespace rmt { -struct File {}; -} template<typename Schema, typename Encoding> class data_server<Schema, Encoding, rmt::File> final : public i_data_server<rmt::File> { private: |
