summaryrefslogtreecommitdiff
path: root/plugins/StartupSilence/src/StartupSilence.h
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2013-11-02 12:46:08 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2013-11-02 12:46:08 +0000
commit9d908611c335731a41f38c69acbb5aa42018d19d (patch)
tree1c6e44f0c6bf6f6b191fa642ec1f7c54c35c4f0a /plugins/StartupSilence/src/StartupSilence.h
parent347e34fdae71d9a4878f21eee10450430df1a569 (diff)
- add external service
- add ability to display service popups on startup and filtered mode, such as keepstatus notification git-svn-id: http://svn.miranda-ng.org/main/trunk@6743 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/StartupSilence/src/StartupSilence.h')
-rw-r--r--plugins/StartupSilence/src/StartupSilence.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/plugins/StartupSilence/src/StartupSilence.h b/plugins/StartupSilence/src/StartupSilence.h
index 41f0ae88d2..99cf3ed2be 100644
--- a/plugins/StartupSilence/src/StartupSilence.h
+++ b/plugins/StartupSilence/src/StartupSilence.h
@@ -31,11 +31,19 @@ void UpdateMenu();
void UpdateTTB();
INT_PTR SturtupSilenceEnabled(WPARAM wParam, LPARAM lParam);
+INT_PTR SilenceConnection(WPARAM wParam, LPARAM lParam);
#define MODULE_NAME "StartupSilence"
#define SS_SERVICE_NAME "StartupSilence/ToggleEnabled"
+#define SS_SILENCE_CONNECTION "StartupSilence/SilenceConnection"
+//StartupSilence/SilenceConnection
+//external service for mute sound and popups according to plugin settings
+//wParam = 2 - SilenceConnection is on
+//wParam = 0 - SilenceConnection is off
+//lParam = 0 - not in use
+
#define POPUPONOFF "Popup/ToggleEnabled"
#define POPUPONOFFPP "Popup/EnableDisableMenuCommand"