diff options
author | Robert Pösel <robyer@seznam.cz> | 2013-05-15 15:54:01 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2013-05-15 15:54:01 +0000 |
commit | a24c54b1c68eac0bc187a60192b6691912b34472 (patch) | |
tree | 66bbedb41c694ba95aa15dc5a677705a73a987be /protocols/FacebookRM/src/utils.cpp | |
parent | 83a3c975e9cdf5895cb45c3f91c12986b5cdb539 (diff) |
Facebook: Show info in statusbar when user read your message.
git-svn-id: http://svn.miranda-ng.org/main/trunk@4662 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src/utils.cpp')
-rw-r--r-- | protocols/FacebookRM/src/utils.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/protocols/FacebookRM/src/utils.cpp b/protocols/FacebookRM/src/utils.cpp index a7d22d441d..46c56cafd1 100644 --- a/protocols/FacebookRM/src/utils.cpp +++ b/protocols/FacebookRM/src/utils.cpp @@ -71,6 +71,11 @@ DWORD utils::conversion::to_timestamp(std::string data) return timestamp;
}
+struct tm *utils::conversion::fbtime_to_timeinfo(double timestamp) {
+ time_t time = utils::time::fix_timestamp(timestamp);
+ return localtime(&time);
+}
+
std::string utils::conversion::to_string(void* data, WORD type)
{
std::stringstream out;
|