summaryrefslogtreecommitdiff
path: root/plugins/TooltipNotify
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/TooltipNotify')
-rw-r--r--plugins/TooltipNotify/src/DbHelpers.h2
-rw-r--r--plugins/TooltipNotify/src/Settings.h2
-rw-r--r--plugins/TooltipNotify/src/Tooltip.h2
-rw-r--r--plugins/TooltipNotify/src/TooltipNotify.h2
-rw-r--r--plugins/TooltipNotify/src/Utils.h2
-rw-r--r--plugins/TooltipNotify/src/stdafx.h2
6 files changed, 12 insertions, 0 deletions
diff --git a/plugins/TooltipNotify/src/DbHelpers.h b/plugins/TooltipNotify/src/DbHelpers.h
index 94677569a8..98fa9c51de 100644
--- a/plugins/TooltipNotify/src/DbHelpers.h
+++ b/plugins/TooltipNotify/src/DbHelpers.h
@@ -2,6 +2,8 @@
//
//////////////////////////////////////////////////////////////////////
+#pragma once
+
bool ModuleSettingsExists(MCONTACT hContact, const char* pszModuleName);
void DeleteModuleSettings(MCONTACT hContact, const char* pszModuleName);
void RenameModule(MCONTACT hContact, const char* pszOldName, const char* pszNewName);
diff --git a/plugins/TooltipNotify/src/Settings.h b/plugins/TooltipNotify/src/Settings.h
index cf99538f3e..d9b937afba 100644
--- a/plugins/TooltipNotify/src/Settings.h
+++ b/plugins/TooltipNotify/src/Settings.h
@@ -2,6 +2,8 @@
// Settings.h
//
+#pragma once
+
// Settings related
#define DEF_LOGPIXELSY 96
#define PROTO_TT_ON_INT_BIT 0x01
diff --git a/plugins/TooltipNotify/src/Tooltip.h b/plugins/TooltipNotify/src/Tooltip.h
index 9e47040bf6..1767e0d3a3 100644
--- a/plugins/TooltipNotify/src/Tooltip.h
+++ b/plugins/TooltipNotify/src/Tooltip.h
@@ -2,6 +2,8 @@
//
//////////////////////////////////////////////////////////////////////
+#pragma once
+
class CTooltipNotify;
class CTooltip
diff --git a/plugins/TooltipNotify/src/TooltipNotify.h b/plugins/TooltipNotify/src/TooltipNotify.h
index 793d1d6500..40aaac0db6 100644
--- a/plugins/TooltipNotify/src/TooltipNotify.h
+++ b/plugins/TooltipNotify/src/TooltipNotify.h
@@ -2,6 +2,8 @@
//
//////////////////////////////////////////////////////////////////////
+#pragma once
+
class CTooltip;
class CTooltipNotify
diff --git a/plugins/TooltipNotify/src/Utils.h b/plugins/TooltipNotify/src/Utils.h
index 36270e8311..19afbab838 100644
--- a/plugins/TooltipNotify/src/Utils.h
+++ b/plugins/TooltipNotify/src/Utils.h
@@ -2,5 +2,7 @@
// Utils.h
//
+#pragma once
+
BOOL IsNt50();
void TruncateWithDots(wchar_t* szString, size_t iNewLen);
diff --git a/plugins/TooltipNotify/src/stdafx.h b/plugins/TooltipNotify/src/stdafx.h
index f1a20e5546..50f8f3d042 100644
--- a/plugins/TooltipNotify/src/stdafx.h
+++ b/plugins/TooltipNotify/src/stdafx.h
@@ -3,6 +3,8 @@
// are changed infrequently
//
+#pragma once
+
#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
#include <windows.h>