diff options
author | Robert Pösel <robyer@seznam.cz> | 2014-12-23 15:30:07 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2014-12-23 15:30:07 +0000 |
commit | dfc984e97259bab3ab2de2f3b9cca0d9a097550d (patch) | |
tree | b9461d8acc5de1df006f6a8396b2a6dfb36e5d91 /protocols/FacebookRM/src/entities.h | |
parent | 2cd071fd8de860655b981d22ecac139cd6e4411b (diff) |
Facebook: Rework working with timestamps; version bump
Use time_t almost everywhere instead of DWORD and remove fix_timestamp method to replace it with to_timestamp
git-svn-id: http://svn.miranda-ng.org/main/trunk@11599 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src/entities.h')
-rw-r--r-- | protocols/FacebookRM/src/entities.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/protocols/FacebookRM/src/entities.h b/protocols/FacebookRM/src/entities.h index e83760595b..e8daefaec1 100644 --- a/protocols/FacebookRM/src/entities.h +++ b/protocols/FacebookRM/src/entities.h @@ -33,7 +33,7 @@ struct facebook_user unsigned int status_id; unsigned int gender; - DWORD last_active; + time_t last_active; std::string image_url; @@ -81,7 +81,7 @@ struct facebook_chatroom std::string message_readers; - DWORD last_active; + time_t last_active; }; struct facebook_message @@ -91,8 +91,7 @@ struct facebook_message std::string message_text; std::string message_id; std::string thread_id; - std::string timestamp; - DWORD time; + time_t time; bool isIncoming; bool isUnread; bool isChat; |