aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorh.udo <hudokkow@gmail.com>2018-06-07 14:55:34 +0100
committerh.udo <hudokkow@gmail.com>2018-06-12 10:25:52 +0100
commit250fbac59a53b70f583db118826c138451a36cc4 (patch)
treee670b2996f8787a001c31c99992e25ce88d0a784 /tools
parentc1a0c4813a4e5a63e17a1bc9a66679e4e06f0a23 (diff)
[TexturePacker] pragma once position
Diffstat (limited to 'tools')
-rw-r--r--tools/depends/native/TexturePacker/src/DecoderManager.h3
-rw-r--r--tools/depends/native/TexturePacker/src/SimpleFS.h4
-rw-r--r--tools/depends/native/TexturePacker/src/Win32/dirent.h2
-rw-r--r--tools/depends/native/TexturePacker/src/XBTFWriter.h2
-rw-r--r--tools/depends/native/TexturePacker/src/cmdlineargs.h2
-rw-r--r--tools/depends/native/TexturePacker/src/decoder/GIFDecoder.h3
-rw-r--r--tools/depends/native/TexturePacker/src/decoder/IDecoder.h3
-rw-r--r--tools/depends/native/TexturePacker/src/decoder/JPGDecoder.h3
-rw-r--r--tools/depends/native/TexturePacker/src/decoder/PNGDecoder.h3
-rw-r--r--tools/depends/native/TexturePacker/src/md5.h2
10 files changed, 20 insertions, 7 deletions
diff --git a/tools/depends/native/TexturePacker/src/DecoderManager.h b/tools/depends/native/TexturePacker/src/DecoderManager.h
index e129f0cb06..d0f7984eef 100644
--- a/tools/depends/native/TexturePacker/src/DecoderManager.h
+++ b/tools/depends/native/TexturePacker/src/DecoderManager.h
@@ -19,6 +19,7 @@
*/
#pragma once
+
#include "IDecoder.h"
class DecoderManager
@@ -31,4 +32,4 @@ class DecoderManager
static void FreeDecodedFrames(DecodedFrames &frames);
private:
static std::vector<IDecoder *> m_decoders;
-}; \ No newline at end of file
+};
diff --git a/tools/depends/native/TexturePacker/src/SimpleFS.h b/tools/depends/native/TexturePacker/src/SimpleFS.h
index a878203084..bbda2b50a8 100644
--- a/tools/depends/native/TexturePacker/src/SimpleFS.h
+++ b/tools/depends/native/TexturePacker/src/SimpleFS.h
@@ -1,5 +1,3 @@
-#pragma once
-
/*
* Copyright (C) 2005-2013 Team XBMC
* http://kodi.tv
@@ -20,6 +18,8 @@
*
*/
+#pragma once
+
#include <cstdio>
#include <string>
#include <cstdint>
diff --git a/tools/depends/native/TexturePacker/src/Win32/dirent.h b/tools/depends/native/TexturePacker/src/Win32/dirent.h
index 6c85abdb58..7e8b5d51be 100644
--- a/tools/depends/native/TexturePacker/src/Win32/dirent.h
+++ b/tools/depends/native/TexturePacker/src/Win32/dirent.h
@@ -20,6 +20,8 @@
But that said, if there are any problems please get in touch.
*/
+#pragma once
+
#ifdef __cplusplus
extern "C"
{
diff --git a/tools/depends/native/TexturePacker/src/XBTFWriter.h b/tools/depends/native/TexturePacker/src/XBTFWriter.h
index be644f8c22..575e80586a 100644
--- a/tools/depends/native/TexturePacker/src/XBTFWriter.h
+++ b/tools/depends/native/TexturePacker/src/XBTFWriter.h
@@ -21,6 +21,8 @@
*
*/
+#pragma once
+
#include <vector>
#include <string>
#include <cstdio>
diff --git a/tools/depends/native/TexturePacker/src/cmdlineargs.h b/tools/depends/native/TexturePacker/src/cmdlineargs.h
index 3ecab074ad..711cdcc973 100644
--- a/tools/depends/native/TexturePacker/src/cmdlineargs.h
+++ b/tools/depends/native/TexturePacker/src/cmdlineargs.h
@@ -21,6 +21,8 @@
*
*/
+#pragma once
+
#ifdef TARGET_POSIX
char* GetCommandLine();
#define _snprintf snprintf
diff --git a/tools/depends/native/TexturePacker/src/decoder/GIFDecoder.h b/tools/depends/native/TexturePacker/src/decoder/GIFDecoder.h
index de5732d439..6e9ea6c4be 100644
--- a/tools/depends/native/TexturePacker/src/decoder/GIFDecoder.h
+++ b/tools/depends/native/TexturePacker/src/decoder/GIFDecoder.h
@@ -19,6 +19,7 @@
*/
#pragma once
+
#include "IDecoder.h"
class GIFDecoder : public IDecoder
@@ -32,4 +33,4 @@ class GIFDecoder : public IDecoder
const char* GetDecoderName() override { return "libgif"; }
protected:
void FillSupportedExtensions() override;
-}; \ No newline at end of file
+};
diff --git a/tools/depends/native/TexturePacker/src/decoder/IDecoder.h b/tools/depends/native/TexturePacker/src/decoder/IDecoder.h
index 68a29d596b..6ae8982e86 100644
--- a/tools/depends/native/TexturePacker/src/decoder/IDecoder.h
+++ b/tools/depends/native/TexturePacker/src/decoder/IDecoder.h
@@ -19,6 +19,7 @@
*/
#pragma once
+
#include <string>
#include <vector>
@@ -77,4 +78,4 @@ class IDecoder
virtual void FillSupportedExtensions() = 0;
//fill this with extensions in FillSupportedExtensions like ".png"
std::vector<std::string> m_supportedExtensions;
-}; \ No newline at end of file
+};
diff --git a/tools/depends/native/TexturePacker/src/decoder/JPGDecoder.h b/tools/depends/native/TexturePacker/src/decoder/JPGDecoder.h
index 118dd7d127..30430e79f9 100644
--- a/tools/depends/native/TexturePacker/src/decoder/JPGDecoder.h
+++ b/tools/depends/native/TexturePacker/src/decoder/JPGDecoder.h
@@ -19,6 +19,7 @@
*/
#pragma once
+
#include "IDecoder.h"
class JPGDecoder : public IDecoder
@@ -32,4 +33,4 @@ class JPGDecoder : public IDecoder
const char* GetDecoderName() override { return "libjpeg"; }
protected:
void FillSupportedExtensions() override;
-}; \ No newline at end of file
+};
diff --git a/tools/depends/native/TexturePacker/src/decoder/PNGDecoder.h b/tools/depends/native/TexturePacker/src/decoder/PNGDecoder.h
index 43fdb61b96..3b62a23e93 100644
--- a/tools/depends/native/TexturePacker/src/decoder/PNGDecoder.h
+++ b/tools/depends/native/TexturePacker/src/decoder/PNGDecoder.h
@@ -19,6 +19,7 @@
*/
#pragma once
+
#include "IDecoder.h"
class PNGDecoder : public IDecoder
@@ -32,4 +33,4 @@ class PNGDecoder : public IDecoder
const char* GetDecoderName() override { return "libpng"; }
protected:
void FillSupportedExtensions() override;
-}; \ No newline at end of file
+};
diff --git a/tools/depends/native/TexturePacker/src/md5.h b/tools/depends/native/TexturePacker/src/md5.h
index 4bb48e0810..bcf8464267 100644
--- a/tools/depends/native/TexturePacker/src/md5.h
+++ b/tools/depends/native/TexturePacker/src/md5.h
@@ -20,6 +20,8 @@
* Still in the public domain.
*/
+#pragma once
+
#ifndef MD5_H
#define MD5_H