summaryrefslogtreecommitdiff
path: root/FacebookRM/utils.h
diff options
context:
space:
mode:
authorwatcherhd <watcherhd@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb>2012-04-26 20:02:14 +0000
committerwatcherhd <watcherhd@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb>2012-04-26 20:02:14 +0000
commit2ec2fe72f5754f59363335f9d5578600022661a1 (patch)
tree19fceb0fb54dbb8247dca7c7c094699e330882e3 /FacebookRM/utils.h
parent0dec0977c6ca0bfaacb059d1a43093b0a14be3e4 (diff)
FacebookRM: version bump
Version 0.0.8.1 ! Fixed getting notifications on login ! Fixed getting unread messages on login ! Getting unread messages on login with right timestamp ! Fixed getting newsfeeds ! Fixed related to deleting contacts from miranda/server + New newsfeed type option "Applications and Games" + Contacts now have MirVer "Facebook" (for Fingerpring plugin) + Getting attachements for unread messages on login ! Fixed avatars in Miranda 0.10.0#3 and newer (thanks borkra) ! Some small fixes (thanks borkra) x Doesn't work notification about friend requests git-svn-id: http://miranda-plugins.googlecode.com/svn/trunk@289 e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb
Diffstat (limited to 'FacebookRM/utils.h')
-rw-r--r--FacebookRM/utils.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/FacebookRM/utils.h b/FacebookRM/utils.h
index 6d9acb5..868aeb8 100644
--- a/FacebookRM/utils.h
+++ b/FacebookRM/utils.h
@@ -65,6 +65,7 @@ namespace utils
namespace url
{
std::string encode(const std::string &s);
+ std::string decode(std::string data);
};
namespace time
@@ -96,6 +97,12 @@ namespace utils
namespace conversion
{
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&)) {
+ std::istringstream iss(s);
+ return !(iss >> f >> t).fail();
+ }
};
namespace debug