diff options
author | George Hazan <ghazan@miranda.im> | 2017-08-20 21:40:02 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-08-20 21:40:02 +0300 |
commit | 72a8c7e76a3048f733df1bf101ec6547606fdfbe (patch) | |
tree | d11c946edc04c5b0ea7c8aebcbdf1a366a9d5f6c /src/core/stdaway | |
parent | 2f816ea233c40d020d1b63ef2a11ec3b724a710d (diff) |
minus ModernOpt
Diffstat (limited to 'src/core/stdaway')
-rw-r--r-- | src/core/stdaway/src/sendmsg.cpp | 26 | ||||
-rw-r--r-- | src/core/stdaway/src/stdafx.h | 1 |
2 files changed, 0 insertions, 27 deletions
diff --git a/src/core/stdaway/src/sendmsg.cpp b/src/core/stdaway/src/sendmsg.cpp index 10a3c1c309..d3013ea14f 100644 --- a/src/core/stdaway/src/sendmsg.cpp +++ b/src/core/stdaway/src/sendmsg.cpp @@ -534,31 +534,6 @@ static int AwayMsgOptInitialise(WPARAM wParam, LPARAM) return 0;
}
-static int AwayMsgSendModernOptInit(WPARAM wParam, LPARAM)
-{
- if (protoModeMsgFlags == 0)
- return 0;
-
- static const int iBoldControls[] =
- {
- IDC_TXT_TITLE1, IDC_TXT_TITLE2, IDC_TXT_TITLE3,
- MODERNOPT_CTRL_LAST
- };
-
- MODERNOPTOBJECT obj = { 0 };
- obj.cbSize = sizeof(obj);
- obj.hInstance = hInst;
- obj.dwFlags = MODEROPT_FLG_TCHAR | MODEROPT_FLG_NORESIZE;
- obj.iSection = MODERNOPT_PAGE_STATUS;
- obj.iType = MODERNOPT_TYPE_SECTIONPAGE;
- obj.iBoldControls = (int*)iBoldControls;
- obj.lpzTemplate = MAKEINTRESOURCEA(IDD_MODERNOPT_STATUS);
- obj.pfnDlgProc = DlgProcAwayMsgOpts;
- obj.lpzHelpUrl = "https://wiki.miranda-ng.org/";
- CallService(MS_MODERNOPT_ADDOBJECT, wParam, (LPARAM)&obj);
- return 0;
-}
-
static int AwayMsgSendAccountsChanged(WPARAM, LPARAM)
{
protoModeMsgFlags = 0;
@@ -581,7 +556,6 @@ static int AwayMsgSendModulesLoaded(WPARAM, LPARAM) AwayMsgSendAccountsChanged(0, 0);
HookEvent(ME_CLIST_STATUSMODECHANGE, StatusModeChange);
- HookEvent(ME_MODERNOPT_INITIALIZE, AwayMsgSendModernOptInit);
HookEvent(ME_OPT_INITIALISE, AwayMsgOptInitialise);
return 0;
}
diff --git a/src/core/stdaway/src/stdafx.h b/src/core/stdaway/src/stdafx.h index 5ac853c77c..6ad64d0f36 100644 --- a/src/core/stdaway/src/stdafx.h +++ b/src/core/stdaway/src/stdafx.h @@ -58,7 +58,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include <m_awaymsg.h>
#include <m_idle.h>
#include <m_icolib.h>
-#include <m_modernopt.h>
#include <m_timezones.h>
#include <m_metacontacts.h>
|