summaryrefslogtreecommitdiff
path: root/plugins/ExternalAPI/m_hotkeysplus.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/ExternalAPI/m_hotkeysplus.h')
-rw-r--r--plugins/ExternalAPI/m_hotkeysplus.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/plugins/ExternalAPI/m_hotkeysplus.h b/plugins/ExternalAPI/m_hotkeysplus.h
new file mode 100644
index 0000000000..3da357f109
--- /dev/null
+++ b/plugins/ExternalAPI/m_hotkeysplus.h
@@ -0,0 +1,22 @@
+#define MS_HOTKEYSPLUS_ADDKEY "HotkeysPlus/Add"
+
+/*
+This service registers hotkey for
+WPARAM - service to perform
+LPARAM - decription of the service
+Returned values:
+ 0 - success,
+ 1 - hotkey for this function is already existing,
+ 2 - the service, that you try to register the hotkey for, not exists
+*/
+
+#define MS_HOTKEYSPLUS_EXISTKEY "HotkeysPlus/Exist"
+/*
+This service checks whether hotkey for service (WPARAM) exists
+LPARAM - not used
+Returned values:
+ 0 - failed,
+ 1 - the hotkey for this function exists,
+ 2 - the service not exists
+*/
+