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/utils.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/utils.h')
-rw-r--r-- | protocols/FacebookRM/src/utils.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/protocols/FacebookRM/src/utils.h b/protocols/FacebookRM/src/utils.h index 6a5943e0a3..67083c1a0c 100644 --- a/protocols/FacebookRM/src/utils.h +++ b/protocols/FacebookRM/src/utils.h @@ -43,7 +43,7 @@ namespace utils {
std::string unix_timestamp();
std::string mili_timestamp();
- DWORD fix_timestamp(unsigned __int64 mili_timestamp);
+ time_t from_string(const std::string &data);
};
namespace number
@@ -71,7 +71,6 @@ namespace utils namespace conversion
{
- DWORD to_timestamp(const std::string &data);
std::string to_string(void*, WORD type);
template <class T>
|