summaryrefslogtreecommitdiff
path: root/plugins/ExternalAPI
diff options
context:
space:
mode:
authorGoraf <22941576+Goraf@users.noreply.github.com>2018-02-25 00:41:47 +0100
committerGoraf <22941576+Goraf@users.noreply.github.com>2018-02-25 00:41:47 +0100
commita3805a0a6771e282026bf3c4783bea1cdba58556 (patch)
treef3a695add3b78ff719e12a1ce7e9031c7284ee7c /plugins/ExternalAPI
parentf124daa8f3eb3d689d08131b8dbee454485f4851 (diff)
add missed guards for header files
Diffstat (limited to 'plugins/ExternalAPI')
-rw-r--r--plugins/ExternalAPI/m_autobackups.h2
-rw-r--r--plugins/ExternalAPI/m_cln_skinedit.h1
-rw-r--r--plugins/ExternalAPI/m_fingerprint.h4
-rw-r--r--plugins/ExternalAPI/m_messagestate.h2
-rw-r--r--plugins/ExternalAPI/m_nudge.h2
-rw-r--r--plugins/ExternalAPI/m_skinbutton.h2
-rw-r--r--plugins/ExternalAPI/m_splash.h2
-rw-r--r--plugins/ExternalAPI/m_winterspeak.h4
-rw-r--r--plugins/ExternalAPI/m_xpTheme.h2
9 files changed, 18 insertions, 3 deletions
diff --git a/plugins/ExternalAPI/m_autobackups.h b/plugins/ExternalAPI/m_autobackups.h
index 95b0813647..dc0b3cda52 100644
--- a/plugins/ExternalAPI/m_autobackups.h
+++ b/plugins/ExternalAPI/m_autobackups.h
@@ -15,6 +15,8 @@ not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA.
*/
+#pragma once
+
// Backup database menu item
#define MS_AB_BACKUP "AB/Backup"
diff --git a/plugins/ExternalAPI/m_cln_skinedit.h b/plugins/ExternalAPI/m_cln_skinedit.h
index b98be9b2ba..c5c9d49585 100644
--- a/plugins/ExternalAPI/m_cln_skinedit.h
+++ b/plugins/ExternalAPI/m_cln_skinedit.h
@@ -1,3 +1,4 @@
+#pragma once
/*
* services
diff --git a/plugins/ExternalAPI/m_fingerprint.h b/plugins/ExternalAPI/m_fingerprint.h
index 3048242925..a7de242da0 100644
--- a/plugins/ExternalAPI/m_fingerprint.h
+++ b/plugins/ExternalAPI/m_fingerprint.h
@@ -28,7 +28,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* FINGERPRINT PLUGIN SERVICES HEADER
*/
-/*
+#pragma once
+
+ /*
* Service SameClientsW MS_FP_SAMECLIENTSW
* wParam - LPCWSTR first MirVer value
* lParam - LPCWSTR second MirVer value
diff --git a/plugins/ExternalAPI/m_messagestate.h b/plugins/ExternalAPI/m_messagestate.h
index a69772f698..d3dbf5b4a7 100644
--- a/plugins/ExternalAPI/m_messagestate.h
+++ b/plugins/ExternalAPI/m_messagestate.h
@@ -1,3 +1,5 @@
+#pragma once
+
struct MessageReadData
{
DWORD dw_lastTime;
diff --git a/plugins/ExternalAPI/m_nudge.h b/plugins/ExternalAPI/m_nudge.h
index 8067499145..5da1bfcfe3 100644
--- a/plugins/ExternalAPI/m_nudge.h
+++ b/plugins/ExternalAPI/m_nudge.h
@@ -1,3 +1,5 @@
+#pragma once
+
// protocol service that sends a nudge
#define PS_SEND_NUDGE "/SendNudge"
diff --git a/plugins/ExternalAPI/m_skinbutton.h b/plugins/ExternalAPI/m_skinbutton.h
index 1ca5c38e6d..427eb20b9c 100644
--- a/plugins/ExternalAPI/m_skinbutton.h
+++ b/plugins/ExternalAPI/m_skinbutton.h
@@ -1,3 +1,5 @@
+#pragma once
+
#include "m_button.h"
#define MBM_UPDATETRANSPARENTFLAG WM_USER+52
diff --git a/plugins/ExternalAPI/m_splash.h b/plugins/ExternalAPI/m_splash.h
index 3652e6a72b..f6ac174d3b 100644
--- a/plugins/ExternalAPI/m_splash.h
+++ b/plugins/ExternalAPI/m_splash.h
@@ -1,3 +1,5 @@
+#pragma once
+
// Shows splash image
// wParam = (char *) image filename, either relative to Miranda dir or absolute
// lParam = (int) time to display in milliseconds, 0 - infinite (hangs on screen until clicked)
diff --git a/plugins/ExternalAPI/m_winterspeak.h b/plugins/ExternalAPI/m_winterspeak.h
index 3c0d418012..9d5a18bb39 100644
--- a/plugins/ExternalAPI/m_winterspeak.h
+++ b/plugins/ExternalAPI/m_winterspeak.h
@@ -1,4 +1,4 @@
-
+#pragma once
#define MS_SPEAK_STATUS "Speak/Status"
-#define MS_SPEAK_MESSAGE "Speak/Message" \ No newline at end of file
+#define MS_SPEAK_MESSAGE "Speak/Message"
diff --git a/plugins/ExternalAPI/m_xpTheme.h b/plugins/ExternalAPI/m_xpTheme.h
index 90925470f4..2a39da5ab5 100644
--- a/plugins/ExternalAPI/m_xpTheme.h
+++ b/plugins/ExternalAPI/m_xpTheme.h
@@ -1,3 +1,5 @@
+#pragma once
+
/* Wrapper for XP theme */
typedef void * XPTHANDLE;
typedef HANDLE HTHEME;