diff options
author | Goraf <22941576+Goraf@users.noreply.github.com> | 2018-02-23 22:36:25 +0100 |
---|---|---|
committer | Goraf <22941576+Goraf@users.noreply.github.com> | 2018-02-24 18:20:43 +0100 |
commit | dff565f40105b20b0e8e4dba1f48ccc9b8e7ff44 (patch) | |
tree | 091f564418533267369d993f554e939c7351f4d6 /plugins/KeyboardNotify | |
parent | 1cd49f75aa0dd71a1df44a1740dd4c15fe5656cf (diff) |
guard headers
Diffstat (limited to 'plugins/KeyboardNotify')
-rw-r--r-- | plugins/KeyboardNotify/src/EnumProc.h | 2 | ||||
-rw-r--r-- | plugins/KeyboardNotify/src/constants.h | 2 | ||||
-rw-r--r-- | plugins/KeyboardNotify/src/flash.h | 2 | ||||
-rw-r--r-- | plugins/KeyboardNotify/src/ignore.h | 2 | ||||
-rw-r--r-- | plugins/KeyboardNotify/src/keyboard.h | 2 | ||||
-rw-r--r-- | plugins/KeyboardNotify/src/keypresses.h | 2 | ||||
-rw-r--r-- | plugins/KeyboardNotify/src/protolist.h | 2 | ||||
-rw-r--r-- | plugins/KeyboardNotify/src/stdafx.h | 2 | ||||
-rw-r--r-- | plugins/KeyboardNotify/src/utils.h | 2 |
9 files changed, 18 insertions, 0 deletions
diff --git a/plugins/KeyboardNotify/src/EnumProc.h b/plugins/KeyboardNotify/src/EnumProc.h index 5f401ce9e0..d994c45f64 100644 --- a/plugins/KeyboardNotify/src/EnumProc.h +++ b/plugins/KeyboardNotify/src/EnumProc.h @@ -16,6 +16,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+#pragma once
+
typedef struct {
int count;
wchar_t **szFileName;
diff --git a/plugins/KeyboardNotify/src/constants.h b/plugins/KeyboardNotify/src/constants.h index d50ded6d23..f9000b0160 100644 --- a/plugins/KeyboardNotify/src/constants.h +++ b/plugins/KeyboardNotify/src/constants.h @@ -16,6 +16,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+#pragma once
+
// Settings values
#define KEYBDMODULE "keybdnotify"
#define FLASH_SAMETIME 0
diff --git a/plugins/KeyboardNotify/src/flash.h b/plugins/KeyboardNotify/src/flash.h index 96421c966e..ee553f6834 100644 --- a/plugins/KeyboardNotify/src/flash.h +++ b/plugins/KeyboardNotify/src/flash.h @@ -16,6 +16,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+#pragma once
+
void RestoreLEDState(void);
BYTE getBlinkingLeds(void);
void setFlashingSequence(void);
diff --git a/plugins/KeyboardNotify/src/ignore.h b/plugins/KeyboardNotify/src/ignore.h index 5fcd0ceebe..0748c5c2ba 100644 --- a/plugins/KeyboardNotify/src/ignore.h +++ b/plugins/KeyboardNotify/src/ignore.h @@ -16,5 +16,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+#pragma once
+
BOOL IsIgnored(MCONTACT, WORD);
INT_PTR CALLBACK DlgProcIgnoreOptions(HWND, UINT, WPARAM, LPARAM);
diff --git a/plugins/KeyboardNotify/src/keyboard.h b/plugins/KeyboardNotify/src/keyboard.h index 8fe6b52fe9..2e1ae08e51 100644 --- a/plugins/KeyboardNotify/src/keyboard.h +++ b/plugins/KeyboardNotify/src/keyboard.h @@ -16,6 +16,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+#pragma once
+
BOOL OpenKeyboardDevice(void);
BOOL ToggleKeyboardLights(BYTE);
void CloseKeyboardDevice(void);
diff --git a/plugins/KeyboardNotify/src/keypresses.h b/plugins/KeyboardNotify/src/keypresses.h index 57e99aa25c..8b9d40c375 100644 --- a/plugins/KeyboardNotify/src/keypresses.h +++ b/plugins/KeyboardNotify/src/keypresses.h @@ -16,5 +16,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+#pragma once
+
void keypresses_RestoreLEDState(void);
BOOL keypresses_ToggleKeyboardLights(BYTE);
diff --git a/plugins/KeyboardNotify/src/protolist.h b/plugins/KeyboardNotify/src/protolist.h index d3f816009d..ec6fda6b86 100644 --- a/plugins/KeyboardNotify/src/protolist.h +++ b/plugins/KeyboardNotify/src/protolist.h @@ -16,6 +16,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+#pragma once
+
typedef struct {
UINT_PTR count;
BOOL *enabled;
diff --git a/plugins/KeyboardNotify/src/stdafx.h b/plugins/KeyboardNotify/src/stdafx.h index fad3036683..0485a000b9 100644 --- a/plugins/KeyboardNotify/src/stdafx.h +++ b/plugins/KeyboardNotify/src/stdafx.h @@ -16,6 +16,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+#pragma once
+
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
diff --git a/plugins/KeyboardNotify/src/utils.h b/plugins/KeyboardNotify/src/utils.h index 64e83feeb5..ba248b9e54 100644 --- a/plugins/KeyboardNotify/src/utils.h +++ b/plugins/KeyboardNotify/src/utils.h @@ -16,5 +16,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+#pragma once
+
char *fmtDBSettingName(const char *, ...);
wchar_t *getAbsoluteProfileName(wchar_t *, size_t);
|