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/Variables/src/contact.h | 2 ++ plugins/Variables/src/dbhelpers.h | 2 ++ plugins/Variables/src/enumprocs.h | 2 ++ plugins/Variables/src/parse_alias.h | 2 ++ plugins/Variables/src/parse_external.h | 2 ++ plugins/Variables/src/parse_inet.h | 2 ++ plugins/Variables/src/parse_logic.h | 2 ++ plugins/Variables/src/parse_math.h | 2 ++ plugins/Variables/src/parse_metacontacts.h | 2 ++ plugins/Variables/src/parse_miranda.h | 2 ++ plugins/Variables/src/parse_regexp.h | 2 ++ plugins/Variables/src/parse_str.h | 2 ++ plugins/Variables/src/parse_system.h | 2 ++ plugins/Variables/src/parse_variables.h | 2 ++ plugins/Variables/src/parse_xml.h | 3 +++ plugins/Variables/src/stdafx.h | 2 ++ 16 files changed, 33 insertions(+) (limited to 'plugins/Variables/src') diff --git a/plugins/Variables/src/contact.h b/plugins/Variables/src/contact.h index b145a48f4f..dc83dd73cb 100644 --- a/plugins/Variables/src/contact.h +++ b/plugins/Variables/src/contact.h @@ -17,6 +17,8 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#pragma once + #define STR_FIRSTNAME L"first" #define STR_LASTNAME L"last" #define STR_NICK L"nick" diff --git a/plugins/Variables/src/dbhelpers.h b/plugins/Variables/src/dbhelpers.h index b942337774..4949022c8a 100644 --- a/plugins/Variables/src/dbhelpers.h +++ b/plugins/Variables/src/dbhelpers.h @@ -17,6 +17,8 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#pragma once + #ifndef PREFIX_ITH #define PREFIX_ITH "" #endif diff --git a/plugins/Variables/src/enumprocs.h b/plugins/Variables/src/enumprocs.h index ceb7c461c3..7602fe8186 100644 --- a/plugins/Variables/src/enumprocs.h +++ b/plugins/Variables/src/enumprocs.h @@ -17,6 +17,8 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#pragma once + /*** Process names are ANSI only ***/ typedef BOOL (CALLBACK *PROCENUMPROC)(DWORD, WORD, char *, LPARAM); BOOL WINAPI EnumProcs(PROCENUMPROC lpProc, LPARAM lParam); diff --git a/plugins/Variables/src/parse_alias.h b/plugins/Variables/src/parse_alias.h index 8cec5ded4f..15b70f9ae4 100644 --- a/plugins/Variables/src/parse_alias.h +++ b/plugins/Variables/src/parse_alias.h @@ -17,6 +17,8 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#pragma once + #define ADDALIAS L"alias" int isValidTokenChar(wchar_t tc); diff --git a/plugins/Variables/src/parse_external.h b/plugins/Variables/src/parse_external.h index 2aa33f3bbd..3b44bca045 100644 --- a/plugins/Variables/src/parse_external.h +++ b/plugins/Variables/src/parse_external.h @@ -17,6 +17,8 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#pragma once + #define WINAMPSONG L"winampsong" #define WINAMPSTATE L"winampstate" #define DEF_WINAMPTITLE "Winamp3" diff --git a/plugins/Variables/src/parse_inet.h b/plugins/Variables/src/parse_inet.h index f3c4b46175..96acef8897 100644 --- a/plugins/Variables/src/parse_inet.h +++ b/plugins/Variables/src/parse_inet.h @@ -17,6 +17,8 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#pragma once + #define URLENC L"urlenc" #define URLDEC L"urldec" #define NTOA L"ntoa" diff --git a/plugins/Variables/src/parse_logic.h b/plugins/Variables/src/parse_logic.h index 6d6803ee7f..7c5debd507 100644 --- a/plugins/Variables/src/parse_logic.h +++ b/plugins/Variables/src/parse_logic.h @@ -17,6 +17,8 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#pragma once + #define AND L"and" #define STR_FALSE L"false" #define FOR L"for" diff --git a/plugins/Variables/src/parse_math.h b/plugins/Variables/src/parse_math.h index 300e3604eb..b527572dfd 100644 --- a/plugins/Variables/src/parse_math.h +++ b/plugins/Variables/src/parse_math.h @@ -17,6 +17,8 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#pragma once + #define ADD L"add" #define DIV L"div" #define HEX L"hex" diff --git a/plugins/Variables/src/parse_metacontacts.h b/plugins/Variables/src/parse_metacontacts.h index 21ddd6bbeb..9f8aa9cb7d 100644 --- a/plugins/Variables/src/parse_metacontacts.h +++ b/plugins/Variables/src/parse_metacontacts.h @@ -17,6 +17,8 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#pragma once + #define MC_GETPARENT L"mc_getparent" #define MC_GETDEFAULT L"mc_getdefault" #define MC_GETMOSTONLINE L"mc_getmostonline" diff --git a/plugins/Variables/src/parse_miranda.h b/plugins/Variables/src/parse_miranda.h index b5096cb4f0..8714c05ccd 100644 --- a/plugins/Variables/src/parse_miranda.h +++ b/plugins/Variables/src/parse_miranda.h @@ -17,6 +17,8 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#pragma once + #define VERSIONSTRING L"mirandaversion" #define CODETOSTATUS L"code2status" #define CONTACT L"contact" diff --git a/plugins/Variables/src/parse_regexp.h b/plugins/Variables/src/parse_regexp.h index 6d058e646a..7242b74ab5 100644 --- a/plugins/Variables/src/parse_regexp.h +++ b/plugins/Variables/src/parse_regexp.h @@ -17,5 +17,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#pragma once + #define REGEXPCHECK L"regexp_check" #define REGEXPSUBSTR L"regexp_substr" diff --git a/plugins/Variables/src/parse_str.h b/plugins/Variables/src/parse_str.h index 3c7232a137..7f23c2a01a 100644 --- a/plugins/Variables/src/parse_str.h +++ b/plugins/Variables/src/parse_str.h @@ -17,6 +17,8 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#pragma once + #define MIR_CAPS L"caps" #define MIR_CAPS2 L"caps2" #define MIR_CRLF L"crlf" diff --git a/plugins/Variables/src/parse_system.h b/plugins/Variables/src/parse_system.h index b900f53488..c35444007d 100644 --- a/plugins/Variables/src/parse_system.h +++ b/plugins/Variables/src/parse_system.h @@ -17,6 +17,8 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#pragma once + #define COMPUTERNAME L"computername" #define CPULOAD L"cpuload" #define CDATE L"cdate" diff --git a/plugins/Variables/src/parse_variables.h b/plugins/Variables/src/parse_variables.h index ea83c3b1e0..88090b327d 100644 --- a/plugins/Variables/src/parse_variables.h +++ b/plugins/Variables/src/parse_variables.h @@ -17,6 +17,8 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#pragma once + typedef struct { wchar_t *szName; wchar_t *szText; diff --git a/plugins/Variables/src/parse_xml.h b/plugins/Variables/src/parse_xml.h index 51df56be79..393fd8a997 100644 --- a/plugins/Variables/src/parse_xml.h +++ b/plugins/Variables/src/parse_xml.h @@ -1,2 +1,5 @@ + +#pragma once + #define XSLTF "xsltf" #define XSLTS "xslts" \ No newline at end of file diff --git a/plugins/Variables/src/stdafx.h b/plugins/Variables/src/stdafx.h index 9f62ae75ec..bcedfe8a8e 100644 --- a/plugins/Variables/src/stdafx.h +++ b/plugins/Variables/src/stdafx.h @@ -17,6 +17,8 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#pragma once + #define _CRT_NON_CONFORMING_SWPRINTFS #include -- cgit v1.2.3