summaryrefslogtreecommitdiff
path: root/plugins/StopSpamPlus/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-06-01 15:46:26 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-06-01 15:46:26 +0300
commit5687e029d151d4590693c66da8440acb0fca1910 (patch)
tree2bc1c22693e9f0da2aae6cd74075a58dcd20a6d7 /plugins/StopSpamPlus/src
parent03b421197a6af2c626b87830f7309b7110ce5561 (diff)
CPluginDlgBase: this class became useless because CMPlugin already has module setting
Diffstat (limited to 'plugins/StopSpamPlus/src')
-rw-r--r--plugins/StopSpamPlus/src/options.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/StopSpamPlus/src/options.cpp b/plugins/StopSpamPlus/src/options.cpp
index 79b040d967..0d9d4431bf 100644
--- a/plugins/StopSpamPlus/src/options.cpp
+++ b/plugins/StopSpamPlus/src/options.cpp
@@ -2,14 +2,14 @@
const wchar_t pluginDescription[] = LPGENW("No more spam! Robots can't go! Only human beings invited!\r\n\r\nThis plugin works pretty simple:\r\nWhile messages from users on your contact list go as there is no any anti-spam software, messages from unknown users are not delivered to you. But also they are not ignored, this plugin replies with a simple question, and if user gives the right answer, plugin adds him to your contact list so that he can contact you.");
-class COptMainDlg : public CPluginDlgBase
+class COptMainDlg : public CDlgBase
{
CCtrlEdit edtCount, edtDescr;
CCtrlCheck chk1, chk2, chk3, chk4, chk5, chk6;
public:
COptMainDlg() :
- CPluginDlgBase(g_plugin, IDD_MAIN, MODULENAME),
+ CDlgBase(g_plugin, IDD_MAIN),
edtCount(this, ID_MAXQUESTCOUNT),
edtDescr(this, ID_DESCRIPTION),
chk1(this, ID_INFTALKPROT),
@@ -37,14 +37,14 @@ public:
/////////////////////////////////////////////////////////////////////////////////////////
-class COptMessageDlg : public CPluginDlgBase
+class COptMessageDlg : public CDlgBase
{
CCtrlButton btnHelp, btnRestore;
CCtrlEdit edtQuestion, edtAnswer, edtCongrat, edtReply, edtDivider;
public:
COptMessageDlg() :
- CPluginDlgBase(g_plugin, IDD_MESSAGES, MODULENAME),
+ CDlgBase(g_plugin, IDD_MESSAGES),
btnHelp(this, IDC_VARS),
btnRestore(this, ID_RESTOREDEFAULTS),
edtQuestion(this, ID_QUESTION),
@@ -88,13 +88,13 @@ public:
/////////////////////////////////////////////////////////////////////////////////////////
-class COptAccountDlg : public CPluginDlgBase
+class COptAccountDlg : public CDlgBase
{
CCtrlListView m_accounts;
public:
COptAccountDlg() :
- CPluginDlgBase(g_plugin, IDD_PROTO, MODULENAME),
+ CDlgBase(g_plugin, IDD_PROTO),
m_accounts(this, IDC_PROTO)
{
m_accounts.OnItemChanged = Callback(this, &COptAccountDlg::list_OnItemChanged);