summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/dialogs.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/FacebookRM/src/dialogs.h')
-rw-r--r--protocols/FacebookRM/src/dialogs.h59
1 files changed, 0 insertions, 59 deletions
diff --git a/protocols/FacebookRM/src/dialogs.h b/protocols/FacebookRM/src/dialogs.h
deleted file mode 100644
index a730ef6d81..0000000000
--- a/protocols/FacebookRM/src/dialogs.h
+++ /dev/null
@@ -1,59 +0,0 @@
-/*
-
-Facebook plugin for Miranda Instant Messenger
-_____________________________________________
-
-Copyright © 2009-11 Michal Zelinka, 2011-17 Robert Pösel, 2017-19 Miranda NG team
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 2 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program. If not, see <http://www.gnu.org/licenses/>.
-
-*/
-
-#pragma once
-
-INT_PTR CALLBACK FBAccountProc(HWND hwnd, UINT message, WPARAM wparam, LPARAM lparam);
-INT_PTR CALLBACK FBMindProc(HWND hwnd, UINT message, WPARAM wparam, LPARAM lparam);
-INT_PTR CALLBACK FBOptionsProc(HWND hwnd, UINT message, WPARAM wparam, LPARAM lparam);
-INT_PTR CALLBACK FBOptionsMessagingProc(HWND hwnd, UINT message, WPARAM wparam, LPARAM lparam);
-INT_PTR CALLBACK FBOptionsEventsProc(HWND hwnd, UINT message, WPARAM wparam, LPARAM lparam);
-INT_PTR CALLBACK FBOptionsStatusesProc(HWND hwnd, UINT message, WPARAM wparam, LPARAM lparam);
-
-/////////////////////////////////////////////////////////////////////////////////
-
-typedef CProtoDlgBase<FacebookProto> CFacebookDlgBase;
-
-#define DIALOG_RESULT_OK 1
-
-class CFacebookGuardDialog : public CFacebookDlgBase
-{
-private:
- const char *m_fb_dtsg;
- char m_code[7];
-
- CCtrlEdit m_text;
- CCtrlButton m_ok;
- CCtrlButton m_sms;
-
-protected:
- bool OnInitDialog() override;
- bool OnClose() override;
-
- void OnOk(CCtrlButton*);
- void OnSms(CCtrlButton*);
-
-public:
- CFacebookGuardDialog(FacebookProto *proto, const char *fb_dtsg);
-
- const char *GetCode();
-};