summaryrefslogtreecommitdiff
path: root/plugins/StopSpamMod
diff options
context:
space:
mode:
authorGoraf <22941576+Goraf@users.noreply.github.com>2018-02-23 22:36:25 +0100
committerGoraf <22941576+Goraf@users.noreply.github.com>2018-02-24 18:20:43 +0100
commitdff565f40105b20b0e8e4dba1f48ccc9b8e7ff44 (patch)
tree091f564418533267369d993f554e939c7351f4d6 /plugins/StopSpamMod
parent1cd49f75aa0dd71a1df44a1740dd4c15fe5656cf (diff)
guard headers
Diffstat (limited to 'plugins/StopSpamMod')
-rwxr-xr-xplugins/StopSpamMod/src/globals.h2
-rwxr-xr-xplugins/StopSpamMod/src/stdafx.h2
-rwxr-xr-xplugins/StopSpamMod/src/stopspam.h1
-rwxr-xr-xplugins/StopSpamMod/src/utilities.h2
4 files changed, 7 insertions, 0 deletions
diff --git a/plugins/StopSpamMod/src/globals.h b/plugins/StopSpamMod/src/globals.h
index e046e68f6f..ae45848eb2 100755
--- a/plugins/StopSpamMod/src/globals.h
+++ b/plugins/StopSpamMod/src/globals.h
@@ -1,3 +1,5 @@
+#pragma once
+
#define pluginName "StopSpam" //const char* ?
#define PREF_TCHAR2 PREF_UTF
diff --git a/plugins/StopSpamMod/src/stdafx.h b/plugins/StopSpamMod/src/stdafx.h
index d5551e8d10..8a827674d3 100755
--- a/plugins/StopSpamMod/src/stdafx.h
+++ b/plugins/StopSpamMod/src/stdafx.h
@@ -1,3 +1,5 @@
+#pragma once
+
#include <windows.h>
using namespace std;
diff --git a/plugins/StopSpamMod/src/stopspam.h b/plugins/StopSpamMod/src/stopspam.h
index 6b76869416..e467c4a666 100755
--- a/plugins/StopSpamMod/src/stopspam.h
+++ b/plugins/StopSpamMod/src/stopspam.h
@@ -1,3 +1,4 @@
+#pragma once
extern BOOL gbDosServiceExist;
extern BOOL gbVarsServiceExist;
diff --git a/plugins/StopSpamMod/src/utilities.h b/plugins/StopSpamMod/src/utilities.h
index f941823bd0..5b0d724408 100755
--- a/plugins/StopSpamMod/src/utilities.h
+++ b/plugins/StopSpamMod/src/utilities.h
@@ -1,3 +1,5 @@
+#pragma once
+
std::wstring DBGetContactSettingStringPAN(MCONTACT hContact, char const * szModule, char const * szSetting, std::wstring errorValue);
std::string DBGetContactSettingStringPAN_A(MCONTACT hContact, char const * szModule, char const * szSetting, std::string errorValue);
std::wstring &GetDlgItemString(HWND hwnd, int id);