diff options
author | Yonit Halperin <yhalperi@redhat.com> | 2009-11-09 17:20:30 +0200 |
---|---|---|
committer | Yaniv Kamay <ykamay@redhat.com> | 2009-11-09 17:38:27 +0200 |
commit | 278c40f301b7adddc6a40c0b9061356b49909ed8 (patch) | |
tree | 00633740b5eaa152bfaaa419c18d86fa594627c1 /client/process_loop.h | |
parent | 49f5e5973c5be6ba23f1dbe9c4ef5ab08017e962 (diff) | |
download | spice-278c40f301b7adddc6a40c0b9061356b49909ed8.tar.gz spice-278c40f301b7adddc6a40c0b9061356b49909ed8.tar.xz spice-278c40f301b7adddc6a40c0b9061356b49909ed8.zip |
spice client: cosmetic changes
Diffstat (limited to 'client/process_loop.h')
-rw-r--r-- | client/process_loop.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/client/process_loop.h b/client/process_loop.h index 0b052522..df8650dc 100644 --- a/client/process_loop.h +++ b/client/process_loop.h @@ -65,6 +65,10 @@ protected: #endif private: + void set_generation(uint32_t gen) { _generation = gen;} + uint32_t get_generation() { return _generation;} + +private: uint32_t _generation; friend class EventsQueue; @@ -127,6 +131,7 @@ private: void disarm(); uint64_t get_expiration() const { return _expiration;} void calc_next_expiration_time() { _expiration += _interval;} + void calc_next_expiration_time(uint64_t now); static uint64_t get_now(); |