diff options
author | Hubert Figuière <hub@figuiere.net> | 2016-07-25 22:14:26 -0400 |
---|---|---|
committer | Hubert Figuière <hub@figuiere.net> | 2016-07-25 22:14:26 -0400 |
commit | 33a432bab8cb34f553e6be1da6d66839f7987448 (patch) | |
tree | d48722de51931545861fafd45675bf2e414ba495 /XMPFiles/source | |
parent | d6136c22cead6e6ac641f2efeb9254b68c2d03aa (diff) |
fixup! webp: fix code style
Diffstat (limited to 'XMPFiles/source')
-rw-r--r-- | XMPFiles/source/FileHandlers/WEBP_Handler.cpp | 3 | ||||
-rw-r--r-- | XMPFiles/source/FileHandlers/WEBP_Handler.hpp | 3 | ||||
-rw-r--r-- | XMPFiles/source/FormatSupport/WEBP_Support.cpp | 6 | ||||
-rw-r--r-- | XMPFiles/source/FormatSupport/WEBP_Support.hpp | 9 |
4 files changed, 14 insertions, 7 deletions
diff --git a/XMPFiles/source/FileHandlers/WEBP_Handler.cpp b/XMPFiles/source/FileHandlers/WEBP_Handler.cpp index e06c919..c0b1f09 100644 --- a/XMPFiles/source/FileHandlers/WEBP_Handler.cpp +++ b/XMPFiles/source/FileHandlers/WEBP_Handler.cpp @@ -44,7 +44,8 @@ bool WEBP_CheckFormat(XMP_FileFormat format, XMP_StringPtr filePath, return false; } -WEBP_MetaHandler::WEBP_MetaHandler(XMPFiles* parent) : exifMgr(0) +WEBP_MetaHandler::WEBP_MetaHandler(XMPFiles* parent) + : exifMgr(0) { this->parent = parent; this->handlerFlags = kWEBP_HandlerFlags; diff --git a/XMPFiles/source/FileHandlers/WEBP_Handler.hpp b/XMPFiles/source/FileHandlers/WEBP_Handler.hpp index 792f6b1..c5041ea 100644 --- a/XMPFiles/source/FileHandlers/WEBP_Handler.hpp +++ b/XMPFiles/source/FileHandlers/WEBP_Handler.hpp @@ -23,7 +23,8 @@ static const XMP_OptionBits kWEBP_HandlerFlags = kXMPFiles_AllowsOnlyXMP | kXMPFiles_ReturnsRawPacket | kXMPFiles_CanReconcile); -class WEBP_MetaHandler : public XMPFileHandler { +class WEBP_MetaHandler + : public XMPFileHandler { public: WEBP_MetaHandler(XMPFiles* parent); ~WEBP_MetaHandler(); diff --git a/XMPFiles/source/FormatSupport/WEBP_Support.cpp b/XMPFiles/source/FormatSupport/WEBP_Support.cpp index 329e666..2b007de 100644 --- a/XMPFiles/source/FormatSupport/WEBP_Support.cpp +++ b/XMPFiles/source/FormatSupport/WEBP_Support.cpp @@ -46,7 +46,8 @@ Chunk::Chunk(Container* parent, WEBP_MetaHandler* handler) } // Constructor for creating a new chunk -Chunk::Chunk(Container* parent, XMP_Uns32 tag) : parent(parent), tag(tag) +Chunk::Chunk(Container* parent, XMP_Uns32 tag) + : parent(parent), tag(tag) { this->needsRewrite = true; } @@ -74,7 +75,8 @@ Chunk::~Chunk() // Do nothing } -XMPChunk::XMPChunk(Container* parent) : Chunk(parent, kChunk_XMP_) +XMPChunk::XMPChunk(Container* parent) + : Chunk(parent, kChunk_XMP_) { this->size = 0; } diff --git a/XMPFiles/source/FormatSupport/WEBP_Support.hpp b/XMPFiles/source/FormatSupport/WEBP_Support.hpp index 0ea1e36..aebe781 100644 --- a/XMPFiles/source/FormatSupport/WEBP_Support.hpp +++ b/XMPFiles/source/FormatSupport/WEBP_Support.hpp @@ -132,14 +132,16 @@ public: bool needsRewrite; }; -class XMPChunk : public Chunk { +class XMPChunk + : public Chunk { public: XMPChunk(Container* parent, WEBP_MetaHandler* handler); XMPChunk(Container* parent); void write(WEBP_MetaHandler* handler); }; -class VP8XChunk : public Chunk { +class VP8XChunk + : public Chunk { public: VP8XChunk(Container* parent, WEBP_MetaHandler* handler); VP8XChunk(Container* parent); @@ -153,7 +155,8 @@ public: typedef std::array<std::vector<Chunk*>, WEBP_CHUNK_NIL> Chunks; -class Container : public Chunk { +class Container + : public Chunk { public: Container(WEBP_MetaHandler* handler); ~Container(); |