summaryrefslogtreecommitdiff
path: root/wsd/ClientSession.hpp
diff options
context:
space:
mode:
authorTamás Zolnai <tamas.zolnai@collabora.com>2018-06-13 15:04:09 +0200
committerTamás Zolnai <tamas.zolnai@collabora.com>2018-07-19 14:11:18 +0200
commit85f96bc281f037087fb226b018c40b8410d353d5 (patch)
treeea950db46a5f4e21c335061762ad905b7c4ee420 /wsd/ClientSession.hpp
parent464dd72e1c3471a7e22b5d9cb4c7437e407fa4ba (diff)
Store sent tiles's id instead of using a simple counter
Change-Id: I8cbf84923a53fb6b294bd4039eb7382326f8c445
Diffstat (limited to 'wsd/ClientSession.hpp')
-rw-r--r--wsd/ClientSession.hpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/wsd/ClientSession.hpp b/wsd/ClientSession.hpp
index 366cb653a..e941fa842 100644
--- a/wsd/ClientSession.hpp
+++ b/wsd/ClientSession.hpp
@@ -18,6 +18,7 @@
#include <Poco/URI.h>
#include <Rectangle.hpp>
#include <boost/optional.hpp>
+#include <vector>
class DocumentBroker;
@@ -111,8 +112,8 @@ public:
boost::optional<TileCombined>& getRequestedTiles() { return _requestedTiles; }
- int getTilesOnFly() const { return _tilesOnFly; }
- void setTilesOnFly(int tilesOnFly);
+ const std::vector<std::string>& getTilesOnFly() const { return _tilesOnFly; }
+ void setTilesOnFly(boost::optional<TileCombined> tiles);
private:
@@ -206,7 +207,7 @@ private:
// Type of the docuemnt, extracter from status message
std::string _docType;
- int _tilesOnFly;
+ std::vector<std::string> _tilesOnFly;
boost::optional<std::chrono::time_point<std::chrono::steady_clock>> _tileCounterStartTime;
boost::optional<TileCombined> _requestedTiles;