summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/proto.cpp
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2012-11-03 15:28:05 +0000
committerRobert Pösel <robyer@seznam.cz>2012-11-03 15:28:05 +0000
commit6c6549fe3bd2e4103b917a7a9d4c7baf01f1726e (patch)
treea8998cffdd284e5c3390f2b3639e2d6a3477c1dd /protocols/FacebookRM/src/proto.cpp
parentd563df9cb0e5836f9bcc60cf60babab944ca033f (diff)
Facebook: Few services in status menu
git-svn-id: http://svn.miranda-ng.org/main/trunk@2164 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src/proto.cpp')
-rw-r--r--protocols/FacebookRM/src/proto.cpp28
1 files changed, 28 insertions, 0 deletions
diff --git a/protocols/FacebookRM/src/proto.cpp b/protocols/FacebookRM/src/proto.cpp
index f0b9b7af90..18ada5d913 100644
--- a/protocols/FacebookRM/src/proto.cpp
+++ b/protocols/FacebookRM/src/proto.cpp
@@ -451,6 +451,34 @@ int FacebookProto::OnMind(WPARAM,LPARAM)
return FALSE;
}
+int FacebookProto::CheckNewsfeeds(WPARAM, LPARAM)
+{
+ if (!isOffline()) {
+ facy.client_notify( TranslateT("Loading newsfeeds..."));
+ facy.feeds();
+ }
+ return 0;
+}
+
+int FacebookProto::CheckFriendRequests(WPARAM, LPARAM)
+{
+ if (!isOffline()) {
+ facy.client_notify( TranslateT("Checking friend requests..."));
+ ProcessFriendRequests(NULL);
+ }
+ return 0;
+}
+
+int FacebookProto::RefreshBuddyList(WPARAM, LPARAM)
+{
+ if (!isOffline()) {
+ facy.client_notify( TranslateT("Refreshing buddy list..."));
+ facy.buddy_list();
+ }
+ return 0;
+}
+
+
int FacebookProto::VisitProfile(WPARAM wParam,LPARAM lParam)
{
HANDLE hContact = reinterpret_cast<HANDLE>(wParam);