Move SyncFileStatus to libcommon

It'll be needed in vfs plugins so they can connect to the data coming
out of SyncFileStatusTracker.
This commit is contained in:
Christian Kamm 2019-01-21 11:13:17 +01:00 committed by Kevin Ottens
parent 1cc41427fc
commit fe27804afb
No known key found for this signature in database
GPG key ID: 074BBBCB8DECC9E2
7 changed files with 6 additions and 6 deletions

View file

@ -11,6 +11,7 @@ set(common_SOURCES
${CMAKE_CURRENT_LIST_DIR}/remotepermissions.cpp
${CMAKE_CURRENT_LIST_DIR}/vfs.cpp
${CMAKE_CURRENT_LIST_DIR}/plugin.cpp
${CMAKE_CURRENT_LIST_DIR}/syncfilestatus.cpp
)
configure_file(${CMAKE_CURRENT_LIST_DIR}/vfspluginmetadata.json.in ${CMAKE_CURRENT_BINARY_DIR}/vfspluginmetadata.json)

View file

@ -19,7 +19,7 @@
#include <QObject>
#include <QString>
#include "owncloudlib.h"
#include "ocsynclib.h"
namespace OCC {
@ -27,7 +27,7 @@ namespace OCC {
* @brief The SyncFileStatus class
* @ingroup libsync
*/
class OWNCLOUDSYNC_EXPORT SyncFileStatus
class OCSYNC_EXPORT SyncFileStatus
{
public:
enum SyncFileStatusTag {

View file

@ -17,7 +17,7 @@
#define SOCKETAPI_H
#include "syncfileitem.h"
#include "syncfilestatus.h"
#include "common/syncfilestatus.h"
#include "sharedialog.h" // for the ShareDialogStartPage
#include "common/syncjournalfilerecord.h"

View file

@ -47,7 +47,6 @@ set(libsync_SRCS
propagatedownloadencrypted.cpp
syncengine.cpp
syncfileitem.cpp
syncfilestatus.cpp
syncfilestatustracker.cpp
localdiscoverytracker.cpp
syncresult.cpp

View file

@ -20,7 +20,7 @@
#include "common/syncjournalfilerecord.h"
#include "discoveryphase.h"
#include "creds/abstractcredentials.h"
#include "syncfilestatus.h"
#include "common/syncfilestatus.h"
#include "csync_exclude.h"
#include "filesystem.h"
#include "propagateremotedelete.h"

View file

@ -18,7 +18,7 @@
// #include "ownsql.h"
#include "syncfileitem.h"
#include "syncfilestatus.h"
#include "common/syncfilestatus.h"
#include <map>
#include <QSet>