[Pkg-owncloud-commits] [owncloud-client] 236/333: Add data to store interesting info from the sync run (other tree)

Sandro Knauß hefee-guest at moszumanska.debian.org
Thu Apr 17 23:16:58 UTC 2014


This is an automated email from the git hooks/post-receive script.

hefee-guest pushed a commit to branch master
in repository owncloud-client.

commit 0fcef5f604b2c46e36661075e13d3c7abdb41479
Author: Klaas Freitag <freitag at owncloud.com>
Date:   Wed Mar 26 18:02:25 2014 +0100

    Add data to store interesting info from the sync run (other tree)
---
 src/mirall/syncfileitem.h | 19 +++++++++++++++----
 1 file changed, 15 insertions(+), 4 deletions(-)

diff --git a/src/mirall/syncfileitem.h b/src/mirall/syncfileitem.h
index 64db255..e15b231 100644
--- a/src/mirall/syncfileitem.h
+++ b/src/mirall/syncfileitem.h
@@ -16,6 +16,7 @@
 
 #include <QVector>
 #include <QString>
+#include <QDateTime>
 #include <QMetaType>
 
 #include <csync.h>
@@ -49,7 +50,7 @@ public:
     };
 
     SyncFileItem() : _type(UnknownType), _should_update_etag(false), _blacklistedInDb(false),
-        _status(NoStatus), _httpErrorCode(0) {}
+        _status(NoStatus), _httpErrorCode(0), _requestDuration(0) {}
 
     friend bool operator==(const SyncFileItem& item1, const SyncFileItem& item2) {
         return item1._file == item2._file;
@@ -86,9 +87,19 @@ public:
     bool                 _blacklistedInDb;
 
     // Variables usefull to report to the user
-    Status              _status;
-    QString             _errorString; // Contains a string only in case of error
-    int                 _httpErrorCode;
+    Status               _status;
+    QString              _errorString; // Contains a string only in case of error
+    int                  _httpErrorCode;
+    QString              _responseTimeStamp;
+    quint64              _requestDuration;
+
+    struct {
+        quint64     _size;
+        time_t      _modtime;
+        QByteArray  _etag;
+        QByteArray  _fileId;
+        enum csync_instructions_e _instruction;
+    } other;
 };
 
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git



More information about the Pkg-owncloud-commits mailing list