From dff565f40105b20b0e8e4dba1f48ccc9b8e7ff44 Mon Sep 17 00:00:00 2001 From: Goraf <22941576+Goraf@users.noreply.github.com> Date: Fri, 23 Feb 2018 22:36:25 +0100 Subject: guard headers --- plugins/StopSpamMod/src/globals.h | 2 ++ plugins/StopSpamMod/src/stdafx.h | 2 ++ plugins/StopSpamMod/src/stopspam.h | 1 + plugins/StopSpamMod/src/utilities.h | 2 ++ 4 files changed, 7 insertions(+) (limited to 'plugins/StopSpamMod') 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 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); -- cgit v1.2.3