diff options
author | Matthieu Gallien <matthieu.gallien@nextcloud.com> | 2022-10-17 22:50:23 +0300 |
---|---|---|
committer | Matthieu Gallien <matthieu.gallien@nextcloud.com> | 2022-10-18 10:26:26 +0300 |
commit | a6298d00b3bd5afe88ea082b37ea908e019ab4fc (patch) | |
tree | 9500d72a7420ea4e8349728f6128454fda8b3b53 | |
parent | 994d89cc0abd4e9337fe7d114559394bfc158511 (diff) |
fix windows compilation
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
-rw-r--r-- | src/common/pinstate.h | 2 | ||||
-rw-r--r-- | src/libsync/progressdispatcher.h | 2 | ||||
-rw-r--r-- | src/libsync/vfs/cfapi/cfapiwrapper.cpp | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/common/pinstate.h b/src/common/pinstate.h index 17d99bbd4..7d4222a01 100644 --- a/src/common/pinstate.h +++ b/src/common/pinstate.h @@ -21,7 +21,7 @@ namespace OCC { -Q_NAMESPACE +OCSYNC_EXPORT Q_NAMESPACE /** Determines whether items should be available locally permanently or not * diff --git a/src/libsync/progressdispatcher.h b/src/libsync/progressdispatcher.h index 1423331ea..6b5df0a5a 100644 --- a/src/libsync/progressdispatcher.h +++ b/src/libsync/progressdispatcher.h @@ -27,7 +27,7 @@ namespace OCC { -Q_NAMESPACE +OCSYNC_EXPORT Q_NAMESPACE /** * @brief The ProgressInfo class diff --git a/src/libsync/vfs/cfapi/cfapiwrapper.cpp b/src/libsync/vfs/cfapi/cfapiwrapper.cpp index e98d02792..76e51f16b 100644 --- a/src/libsync/vfs/cfapi/cfapiwrapper.cpp +++ b/src/libsync/vfs/cfapi/cfapiwrapper.cpp @@ -355,7 +355,7 @@ OCC::CfApiWrapper::PlaceHolderInfo::PlaceHolderInfo(CF_PLACEHOLDER_BASIC_INFO *d { } -OCC::Optional<OCC::PinStateEnums::PinState> OCC::CfApiWrapper::PlaceHolderInfo::pinState() const +OCC::Optional<OCC::PinState> OCC::CfApiWrapper::PlaceHolderInfo::pinState() const { Q_ASSERT(_data); if (!_data) { @@ -682,7 +682,7 @@ OCC::CfApiWrapper::PlaceHolderInfo OCC::CfApiWrapper::findPlaceholderInfo(const } } -OCC::Result<OCC::Vfs::ConvertToPlaceholderResult, QString> OCC::CfApiWrapper::setPinState(const QString &path, OCC::PinStateEnums::PinState state, SetPinRecurseMode mode) +OCC::Result<OCC::Vfs::ConvertToPlaceholderResult, QString> OCC::CfApiWrapper::setPinState(const QString &path, OCC::PinState state, SetPinRecurseMode mode) { const auto cfState = pinStateToCfPinState(state); const auto flags = pinRecurseModeToCfSetPinFlags(mode); |