diff options
Diffstat (limited to 'plugins/TabSRMM/src/msgdlgutils.cpp')
-rw-r--r-- | plugins/TabSRMM/src/msgdlgutils.cpp | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/plugins/TabSRMM/src/msgdlgutils.cpp b/plugins/TabSRMM/src/msgdlgutils.cpp index 5b8cc97467..80be1a7e5f 100644 --- a/plugins/TabSRMM/src/msgdlgutils.cpp +++ b/plugins/TabSRMM/src/msgdlgutils.cpp @@ -257,24 +257,6 @@ void TSAPI ProcessAvatarChange(HWND hwnd, LPARAM lParam) }
/////////////////////////////////////////////////////////////////////////////////////////
-// checks, if there is a valid smileypack installed for the given protocol
-
-int TSAPI CheckValidSmileyPack(const char *szProto, MCONTACT hContact)
-{
- if (!PluginConfig.g_SmileyAddAvail)
- return 0;
-
- SMADD_INFO2 smainfo = { 0 };
- smainfo.cbSize = sizeof(smainfo);
- smainfo.Protocolname = const_cast<char *>(szProto);
-
- CallService(MS_SMILEYADD_GETINFO2, 0, (LPARAM)&smainfo);
- if (smainfo.ButtonIcon)
- DestroyIcon(smainfo.ButtonIcon);
- return smainfo.NumberOfVisibleSmileys;
-}
-
-/////////////////////////////////////////////////////////////////////////////////////////
// return value MUST be mir_free()'d by caller.
wchar_t* TSAPI QuoteText(const wchar_t *text)
@@ -346,13 +328,3 @@ bool IsStringValidLink(wchar_t *pszText) return wcsstr(pszText, L"://") != nullptr;
}
-
-/////////////////////////////////////////////////////////////////////////////////////////
-
-LRESULT TSAPI GetSendButtonState(HWND hwnd)
-{
- HWND hwndIDok = GetDlgItem(hwnd, IDOK);
- if (hwndIDok)
- return SendMessage(hwndIDok, BUTTONGETSTATEID, TRUE, 0);
- return 0;
-}
|