diff options
Diffstat (limited to 'kitchensync/libqopensync/syncupdates.h')
-rw-r--r-- | kitchensync/libqopensync/syncupdates.h | 41 |
1 files changed, 19 insertions, 22 deletions
diff --git a/kitchensync/libqopensync/syncupdates.h b/kitchensync/libqopensync/syncupdates.h index 14a2d9193..96741b059 100644 --- a/kitchensync/libqopensync/syncupdates.h +++ b/kitchensync/libqopensync/syncupdates.h @@ -42,14 +42,12 @@ class SyncMemberUpdate public: enum Type { Connected, - SentChanges, - CommittedAll, Disconnected, - ConnectError, - GetChangesError, - CommittedAllError, - SyncDoneError, - DisconnectedError + Read, + Written, + SyncDone, + Discovered, + Error }; SyncMemberUpdate(); @@ -72,11 +70,9 @@ class SyncChangeUpdate public: enum Type { - Received = 1, - ReceivedInfo, - Sent, - WriteError, - ReceiveError + Read = 1, + Written, + Error }; SyncChangeUpdate(); @@ -86,14 +82,14 @@ class SyncChangeUpdate Type type() const; Result result() const; SyncChange change() const; - int memberId() const; + Member member() const; int mappingId() const; private: Type mType; Result mResult; SyncChange mChange; - int mMemberId; + Member mMember; int mMappingId; }; @@ -104,8 +100,8 @@ class SyncMappingUpdate public: enum Type { Solved = 1, - Synced, - WriteError + //Synced, + Error }; SyncMappingUpdate(); @@ -130,14 +126,15 @@ class SyncEngineUpdate public: enum Type { - EndPhaseConnected = 1, - EndPhaseRead, - EndPhaseWrite, - EndPhaseDisconnected, + Connected = 1, + Read, + Written, + Disconnected, Error, - SyncSuccessfull, + SyncSuccessful, PrevUnclean, - EndConflicts + EndConflicts, + SyncDone }; SyncEngineUpdate(); |