summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/FacebookRM/utils.h')
-rw-r--r--protocols/FacebookRM/utils.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/protocols/FacebookRM/utils.h b/protocols/FacebookRM/utils.h
index 868aeb84bc..25a92e4d9c 100644
--- a/protocols/FacebookRM/utils.h
+++ b/protocols/FacebookRM/utils.h
@@ -72,6 +72,7 @@ namespace utils
{
std::string unix_timestamp( );
std::string mili_timestamp( );
+ DWORD fix_timestamp( double );
};
namespace number
@@ -96,7 +97,8 @@ namespace utils
namespace conversion
{
- std::string to_string( void*, WORD type );
+ DWORD to_timestamp( std::string data );
+ std::string to_string( void*, WORD type );
template <class T>
bool from_string(T& t, const std::string& s, std::ios_base& (*f)(std::ios_base&)) {