summaryrefslogtreecommitdiff
path: root/plugins/XSoundNotify/SettingsDialog.h
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2012-07-23 13:52:57 +0000
committerKirill Volinsky <mataes2007@gmail.com>2012-07-23 13:52:57 +0000
commit89c5b2369413025e1fe7dfe5c5d0bf3bedd8558d (patch)
tree18f09394ce3b811e3df7d15de747e842000bd4ad /plugins/XSoundNotify/SettingsDialog.h
parenta9580df150d799246eaecbf3c1fb5cecf9f8ab49 (diff)
git-svn-id: http://svn.miranda-ng.org/main/trunk@1123 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/XSoundNotify/SettingsDialog.h')
-rw-r--r--plugins/XSoundNotify/SettingsDialog.h60
1 files changed, 0 insertions, 60 deletions
diff --git a/plugins/XSoundNotify/SettingsDialog.h b/plugins/XSoundNotify/SettingsDialog.h
deleted file mode 100644
index c68503a6e8..0000000000
--- a/plugins/XSoundNotify/SettingsDialog.h
+++ /dev/null
@@ -1,60 +0,0 @@
-#ifndef __XSN_SETTINGS_DIALOG_H
-#define __XSN_SETTINGS_DIALOG_H
-
-#include <atlbase.h>
-#include <atlwin.h>
-#include <atlapp.h>
-#include <atlctrls.h>
-#include <atldlgs.h>
-#include "resource.h"
-#include "SoundNotifyDataStorage.h"
-
-class SettingsDialog : public CDialogImpl<SettingsDialog>
-{
-private:
- CComboBox _userCombo;
- CComboBox _protoCombo;
- CButton _chooseButton;
- CButton _resetButton;
- CButton _playButton;
- CStatic _soundLabel;
- SoundNotifyDataStorage & _dataStorage;
-
-public:
- SettingsDialog(SoundNotifyDataStorage & dataStorage);
- virtual ~SettingsDialog() {}
- static BOOL DlgProcCluiOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam);
-
-public:
- enum {IDD = IDD_DIALOG1};
-
- BEGIN_MSG_MAP(SettingsDialog)
- MESSAGE_HANDLER(WM_INITDIALOG, onInitDialog)
- COMMAND_HANDLER(IDC_COMBO_PROTO, CBN_SELCHANGE, onSelectProtocol)
- COMMAND_HANDLER(IDC_COMBO_USERS, CBN_SELCHANGE, onSelectUser)
- COMMAND_ID_HANDLER(IDOK, onOk)
- COMMAND_ID_HANDLER(IDCANCEL, onCancel)
- COMMAND_ID_HANDLER(IDC_BUTTON_CHOOSE_SOUND, onChooseSound)
- COMMAND_ID_HANDLER(IDC_BUTTON_RESET_SOUND, onResetSound)
- COMMAND_ID_HANDLER(IDC_BUTTON_TEST_PLAY, onTestPlay)
- END_MSG_MAP()
-
- virtual BOOL PreTranslateMessage(MSG* pMsg);
-
-protected:
- LRESULT onInitDialog(UINT, WPARAM, LPARAM, BOOL&);
-
- LRESULT onOk(WORD, WORD, HWND, BOOL&);
- LRESULT onCancel(WORD, WORD, HWND, BOOL &);
- LRESULT onSelectProtocol(WORD, WORD, HWND, BOOL&);
- LRESULT onSelectUser(WORD, WORD, HWND, BOOL &);
- LRESULT onChooseSound(WORD, WORD, HWND , BOOL&);
- LRESULT onResetSound(WORD, WORD, HWND , BOOL&);
- LRESULT onTestPlay(WORD, WORD, HWND , BOOL&);
-
- void addProtocolItem(ProtocolTable::value_type & value);
-
- void setSoundLabelText(LPCTSTR text);
-};
-
-#endif