aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorh.udo <hudokkow@gmail.com>2018-06-07 14:54:30 +0100
committerh.udo <hudokkow@gmail.com>2018-06-12 10:25:52 +0100
commitc1a0c4813a4e5a63e17a1bc9a66679e4e06f0a23 (patch)
tree94346ec9c35ae6779e4512e8ddaddc369a5ec990 /tools
parent5b018c886d74cbcd09aea53a7444aee8a167351f (diff)
[EventClients] pragma once position
Diffstat (limited to 'tools')
-rw-r--r--tools/EventClients/Clients/WiiRemote/CWIID_WiiRemote.h2
-rw-r--r--tools/EventClients/Clients/WiiRemote/WiiUse_WiiRemote.h1
-rw-r--r--tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/src/classic.h2
-rw-r--r--tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/src/definitions.h2
-rw-r--r--tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/src/dynamics.h2
-rw-r--r--tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/src/events.h2
-rw-r--r--tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/src/guitar_hero_3.h2
-rw-r--r--tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/src/io.h2
-rw-r--r--tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/src/ir.h2
-rw-r--r--tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/src/nunchuk.h2
-rw-r--r--tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/src/os.h2
-rw-r--r--tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/src/wiiuse.h2
-rw-r--r--tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/src/wiiuse_internal.h2
-rw-r--r--tools/EventClients/Clients/Xbox360Controller/Xbox360Controller.h3
-rw-r--r--tools/EventClients/lib/c++/xbmcclient.h2
15 files changed, 29 insertions, 1 deletions
diff --git a/tools/EventClients/Clients/WiiRemote/CWIID_WiiRemote.h b/tools/EventClients/Clients/WiiRemote/CWIID_WiiRemote.h
index c57fee89da..b5cb634cc0 100644
--- a/tools/EventClients/Clients/WiiRemote/CWIID_WiiRemote.h
+++ b/tools/EventClients/Clients/WiiRemote/CWIID_WiiRemote.h
@@ -21,6 +21,8 @@
*
*/
+#pragma once
+
#ifndef WII_REMOTE_H
#define WII_REMOTE_H
diff --git a/tools/EventClients/Clients/WiiRemote/WiiUse_WiiRemote.h b/tools/EventClients/Clients/WiiRemote/WiiUse_WiiRemote.h
index bedc25eae8..e755300e97 100644
--- a/tools/EventClients/Clients/WiiRemote/WiiUse_WiiRemote.h
+++ b/tools/EventClients/Clients/WiiRemote/WiiUse_WiiRemote.h
@@ -15,6 +15,7 @@
*
*/
+#pragma once
#include <stdio.h>
#include <stdlib.h>
diff --git a/tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/src/classic.h b/tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/src/classic.h
index 356f6a458b..04032edd84 100644
--- a/tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/src/classic.h
+++ b/tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/src/classic.h
@@ -31,6 +31,8 @@
* @brief Classic controller expansion device.
*/
+#pragma once
+
#ifndef CLASSIC_H_INCLUDED
#define CLASSIC_H_INCLUDED
diff --git a/tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/src/definitions.h b/tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/src/definitions.h
index 13ca132581..b352ea6edb 100644
--- a/tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/src/definitions.h
+++ b/tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/src/definitions.h
@@ -31,6 +31,8 @@
* @brief General definitions.
*/
+#pragma once
+
#ifndef DEFINITIONS_H_INCLUDED
#define DEFINITIONS_H_INCLUDED
diff --git a/tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/src/dynamics.h b/tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/src/dynamics.h
index 2a8f96500b..07b79e37ec 100644
--- a/tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/src/dynamics.h
+++ b/tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/src/dynamics.h
@@ -35,6 +35,8 @@
* motion sensing.
*/
+#pragma once
+
#ifndef DYNAMICS_H_INCLUDED
#define DYNAMICS_H_INCLUDED
diff --git a/tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/src/events.h b/tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/src/events.h
index 12fa74281d..937bf4ea0f 100644
--- a/tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/src/events.h
+++ b/tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/src/events.h
@@ -34,6 +34,8 @@
* that are sent from the wiimote to us.
*/
+#pragma once
+
#ifndef EVENTS_H_INCLUDED
#define EVENTS_H_INCLUDED
diff --git a/tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/src/guitar_hero_3.h b/tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/src/guitar_hero_3.h
index 024d603177..7a2fd09dd2 100644
--- a/tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/src/guitar_hero_3.h
+++ b/tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/src/guitar_hero_3.h
@@ -31,6 +31,8 @@
* @brief Guitar Hero 3 expansion device.
*/
+#pragma once
+
#ifndef GUITAR_HERO_3_H_INCLUDED
#define GUITAR_HERO_3_H_INCLUDED
diff --git a/tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/src/io.h b/tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/src/io.h
index 7a683e4ee5..60a32a6e70 100644
--- a/tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/src/io.h
+++ b/tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/src/io.h
@@ -31,6 +31,8 @@
* @brief Handles device I/O.
*/
+#pragma once
+
#ifndef CONNECT_H_INCLUDED
#define CONNECT_H_INCLUDED
diff --git a/tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/src/ir.h b/tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/src/ir.h
index 9082492987..5dc5e5cf9e 100644
--- a/tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/src/ir.h
+++ b/tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/src/ir.h
@@ -31,6 +31,8 @@
* @brief Handles IR data.
*/
+#pragma once
+
#ifndef IR_H_INCLUDED
#define IR_H_INCLUDED
diff --git a/tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/src/nunchuk.h b/tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/src/nunchuk.h
index f036073d64..9034d0eaf5 100644
--- a/tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/src/nunchuk.h
+++ b/tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/src/nunchuk.h
@@ -31,6 +31,8 @@
* @brief Nunchuk expansion device.
*/
+#pragma once
+
#ifndef NUNCHUK_H_INCLUDED
#define NUNCHUK_H_INCLUDED
diff --git a/tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/src/os.h b/tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/src/os.h
index 79d4ce6edf..b1ac81b758 100644
--- a/tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/src/os.h
+++ b/tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/src/os.h
@@ -36,6 +36,8 @@
* at compile time.
*/
+#pragma once
+
#ifndef OS_H_INCLUDED
#define OS_H_INCLUDED
diff --git a/tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/src/wiiuse.h b/tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/src/wiiuse.h
index b84c35f2b6..22c9d679db 100644
--- a/tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/src/wiiuse.h
+++ b/tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/src/wiiuse.h
@@ -36,6 +36,8 @@
* is also included which extends this file.
*/
+#pragma once
+
#ifndef WIIUSE_H_INCLUDED
#define WIIUSE_H_INCLUDED
diff --git a/tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/src/wiiuse_internal.h b/tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/src/wiiuse_internal.h
index a7fe30a578..4193524899 100644
--- a/tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/src/wiiuse_internal.h
+++ b/tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/src/wiiuse_internal.h
@@ -41,6 +41,8 @@
* internally, wiiuse.h is included only here.
*/
+#pragma once
+
#ifndef WIIUSE_INTERNAL_H_INCLUDED
#define WIIUSE_INTERNAL_H_INCLUDED
diff --git a/tools/EventClients/Clients/Xbox360Controller/Xbox360Controller.h b/tools/EventClients/Clients/Xbox360Controller/Xbox360Controller.h
index 9ae3be5c15..d7a9e2ae22 100644
--- a/tools/EventClients/Clients/Xbox360Controller/Xbox360Controller.h
+++ b/tools/EventClients/Clients/Xbox360Controller/Xbox360Controller.h
@@ -1,4 +1,3 @@
-#pragma once
/*
* Copyright (C) 2009-2013 Team XBMC
*
@@ -17,6 +16,8 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#pragma once
+
#include <windows.h>
#include <XInput.h> // Defines XBOX controller API
#pragma comment(lib, "XInput.lib") // Library containing necessary 360
diff --git a/tools/EventClients/lib/c++/xbmcclient.h b/tools/EventClients/lib/c++/xbmcclient.h
index 3633b57d9d..462da39bc9 100644
--- a/tools/EventClients/lib/c++/xbmcclient.h
+++ b/tools/EventClients/lib/c++/xbmcclient.h
@@ -21,6 +21,8 @@
*
*/
+#pragma once
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>