diff options
author | George Hazan <ghazan@miranda.im> | 2017-03-24 18:41:37 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-03-24 18:41:37 +0300 |
commit | 16488b948b0fe6e473de6afaa9038a766286f26c (patch) | |
tree | 2f306ce68a6e798bbd19907e6f95486567295add | |
parent | 3e36c9a85ff26217fe31bb672b71be9104a556a3 (diff) |
unused shit removed
-rw-r--r-- | include/m_message.h | 6 | ||||
-rw-r--r-- | plugins/RecentContacts/src/RecentContacts.cpp | 3 | ||||
-rw-r--r-- | plugins/Scriver/src/msgs.cpp | 6 | ||||
-rw-r--r-- | plugins/TabSRMM/src/msgs.cpp | 7 | ||||
-rw-r--r-- | src/core/stdmsg/src/msgs.cpp | 6 |
5 files changed, 0 insertions, 28 deletions
diff --git a/include/m_message.h b/include/m_message.h index bec84e6539..477603abc0 100644 --- a/include/m_message.h +++ b/include/m_message.h @@ -77,12 +77,6 @@ typedef struct { // Sets a statusbar line text for the appropriate contact
#define MS_MSG_SETSTATUSTEXT "MessageAPI/SetStatusText"
-// wparam = 0
-// lparam = 0
-// Returns a dword with the current message api version
-// Current version is 0, 0, 0, 4
-#define MS_MSG_GETWINDOWAPI "MessageAPI/WindowAPI"
-
// wparam = (char*)szBuf
// lparam = (int)cbSize size of buffer
// Sets the window class name in wParam (ex. "SRMM" for srmm.dll)
diff --git a/plugins/RecentContacts/src/RecentContacts.cpp b/plugins/RecentContacts/src/RecentContacts.cpp index d2b5693eaf..d2570e7a55 100644 --- a/plugins/RecentContacts/src/RecentContacts.cpp +++ b/plugins/RecentContacts/src/RecentContacts.cpp @@ -18,8 +18,6 @@ HGENMENU hMenuItemRemove; const INT_PTR boo = 0;
-BOOL IsMessageAPI = FALSE;
-
LastUCOptions LastUCOpt = {0};
/////////////////////////////////////////////////////////////////////////////////////////
@@ -513,7 +511,6 @@ int OnModulesLoaded(WPARAM, LPARAM) HookEvent(ME_TTB_MODULELOADED, Create_TopToolbarShowList);
Create_MenuitemShowList();
- IsMessageAPI = (CallService(MS_MSG_GETWINDOWAPI, 0, 0) != CALLSERVICE_NOTFOUND);
LoadDBSettings();
// hotkeys
diff --git a/plugins/Scriver/src/msgs.cpp b/plugins/Scriver/src/msgs.cpp index 7572fabf0a..42e3b6ee34 100644 --- a/plugins/Scriver/src/msgs.cpp +++ b/plugins/Scriver/src/msgs.cpp @@ -283,11 +283,6 @@ static void RestoreUnreadMessageAlerts(void) }
}
-static INT_PTR GetWindowAPI(WPARAM, LPARAM)
-{
- return PLUGIN_MAKE_VERSION(0,0,0,3);
-}
-
static INT_PTR GetWindowClass(WPARAM wParam, LPARAM lParam)
{
char *szBuf = (char*)wParam;
@@ -651,7 +646,6 @@ int OnLoadModule(void) CreateServiceFunction(MS_MSG_SENDMESSAGE, SendMessageCommand);
CreateServiceFunction(MS_MSG_SENDMESSAGEW, SendMessageCommandW);
- CreateServiceFunction(MS_MSG_GETWINDOWAPI, GetWindowAPI);
CreateServiceFunction(MS_MSG_GETWINDOWCLASS, GetWindowClass);
CreateServiceFunction(MS_MSG_GETWINDOWDATA, GetWindowData);
CreateServiceFunction(MS_MSG_SETSTATUSTEXT, SetStatusText);
diff --git a/plugins/TabSRMM/src/msgs.cpp b/plugins/TabSRMM/src/msgs.cpp index 6262f82e4d..62e3702bd0 100644 --- a/plugins/TabSRMM/src/msgs.cpp +++ b/plugins/TabSRMM/src/msgs.cpp @@ -402,12 +402,6 @@ static INT_PTR GetMessageWindowFlags(WPARAM wParam, LPARAM lParam) /////////////////////////////////////////////////////////////////////////////////////////
// return the version of the window api supported
-static INT_PTR GetWindowAPI(WPARAM, LPARAM)
-{
- return PLUGIN_MAKE_VERSION(0, 0, 0, 2);
-}
-
-
static INT_PTR BroadcastMessage(WPARAM, LPARAM lParam)
{
M.BroadcastMessage((UINT)lParam, 0, 0);
@@ -1135,7 +1129,6 @@ static void TSAPI InitAPI() {
CreateServiceFunction(MS_MSG_SENDMESSAGE, SendMessageCommand);
CreateServiceFunction(MS_MSG_SENDMESSAGEW, SendMessageCommand_W);
- CreateServiceFunction(MS_MSG_GETWINDOWAPI, GetWindowAPI);
CreateServiceFunction(MS_MSG_GETWINDOWCLASS, GetWindowClass);
CreateServiceFunction(MS_MSG_GETWINDOWDATA, GetWindowData);
CreateServiceFunction(MS_MSG_SETSTATUSTEXT, SetStatusText);
diff --git a/src/core/stdmsg/src/msgs.cpp b/src/core/stdmsg/src/msgs.cpp index e9f25b410a..214be6a766 100644 --- a/src/core/stdmsg/src/msgs.cpp +++ b/src/core/stdmsg/src/msgs.cpp @@ -477,11 +477,6 @@ static int PrebuildContactMenu(WPARAM hContact, LPARAM) return 0;
}
-static INT_PTR GetWindowAPI(WPARAM, LPARAM)
-{
- return PLUGIN_MAKE_VERSION(0, 0, 0, 4);
-}
-
static INT_PTR GetWindowClass(WPARAM wParam, LPARAM lParam)
{
char *szBuf = (char*)wParam;
@@ -557,7 +552,6 @@ int LoadSendRecvMessageModule(void) CreateServiceFunction(MS_MSG_SENDMESSAGE, SendMessageCommand);
CreateServiceFunction(MS_MSG_SENDMESSAGEW, SendMessageCommand_W);
- CreateServiceFunction(MS_MSG_GETWINDOWAPI, GetWindowAPI);
CreateServiceFunction(MS_MSG_GETWINDOWCLASS, GetWindowClass);
CreateServiceFunction(MS_MSG_GETWINDOWDATA, GetWindowData);
CreateServiceFunction(MS_MSG_SETSTATUSTEXT, SetStatusText);
|