summaryrefslogtreecommitdiff
path: root/protocols/MSN/src/msn_svcs.cpp
diff options
context:
space:
mode:
authorPiotr Piastucki <leech.miranda@gmail.com>2015-05-21 00:18:47 +0000
committerPiotr Piastucki <leech.miranda@gmail.com>2015-05-21 00:18:47 +0000
commit1b673c9c170f595fdf9a0c34029451bbba3d4139 (patch)
treed7e5a7419aae8e9cf8bd268def197ca0748b08d6 /protocols/MSN/src/msn_svcs.cpp
parentf5a2a6da0378e95c5eb330e0ec4dc2aeca2e7fd2 (diff)
Removed obsolete code from protocol like P2P, Media Info status messages, Nudge, File transfers, Switchboard.
Currently it is just disabled with #ifdef OBSOLETE in order to keep the code for future reference and still benefit from decreased file size. If MSN protocol doesn't get back these features, code can finally be thrown out then later. Most likely, these features will be gone forever. git-svn-id: http://svn.miranda-ng.org/main/trunk@13726 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/MSN/src/msn_svcs.cpp')
-rw-r--r--protocols/MSN/src/msn_svcs.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/protocols/MSN/src/msn_svcs.cpp b/protocols/MSN/src/msn_svcs.cpp
index 864a3770d1..46cd62754a 100644
--- a/protocols/MSN/src/msn_svcs.cpp
+++ b/protocols/MSN/src/msn_svcs.cpp
@@ -133,6 +133,7 @@ INT_PTR CMsnProto::GetAvatarInfo(WPARAM wParam, LPARAM lParam)
pushAvatarRequest(AI->hContact, dbv.pszVal);
db_free(&dbv);
}
+#ifdef OBSOLETE
else if (p2p_getAvatarSession(AI->hContact) == NULL) {
filetransfer* ft = new filetransfer(this);
ft->std.hContact = AI->hContact;
@@ -143,6 +144,7 @@ INT_PTR CMsnProto::GetAvatarInfo(WPARAM wParam, LPARAM lParam)
p2p_invite(MSN_APPID_AVATAR, ft, NULL);
}
+#endif
return GAIR_WAITFOR;
}
@@ -238,6 +240,7 @@ INT_PTR CMsnProto::SetNickName(WPARAM wParam, LPARAM lParam)
return 0;
}
+#ifdef OBSOLETE
/////////////////////////////////////////////////////////////////////////////////////////
// MsnSendNudge - Sending a nudge
@@ -366,6 +369,7 @@ INT_PTR CMsnProto::SetCurrentMedia(WPARAM, LPARAM lParam)
return 0;
}
+#endif
/////////////////////////////////////////////////////////////////////////////////////////
// MsnContactDeleted - called when a contact is deleted from list
@@ -515,6 +519,7 @@ int CMsnProto::OnIdleChanged(WPARAM, LPARAM lParam)
return 0;
}
+#ifdef OBSOLETE
/////////////////////////////////////////////////////////////////////////////////////////
// OnWindowEvent - creates session on window open
@@ -544,6 +549,7 @@ int CMsnProto::OnWindowEvent(WPARAM, LPARAM lParam)
}
return 0;
}
+#endif
/////////////////////////////////////////////////////////////////////////////////////////
// OnWindowEvent - creates session on window open