diff options
author | chai <chaifix@163.com> | 2019-07-31 21:35:12 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2019-07-31 21:35:12 +0800 |
commit | 084623519e95f0ab0cf4bc328b5fa736d679c5bd (patch) | |
tree | 9d409dceda50335e9fb881fc5107c9c1c561f988 /source/modules/asura-core/image/image_decoder.h | |
parent | 012a44bd13ab41d056e7d3884a39027b6cea62b5 (diff) |
*修改名称空间风格
Diffstat (limited to 'source/modules/asura-core/image/image_decoder.h')
-rw-r--r-- | source/modules/asura-core/image/image_decoder.h | 38 |
1 files changed, 18 insertions, 20 deletions
diff --git a/source/modules/asura-core/image/image_decoder.h b/source/modules/asura-core/image/image_decoder.h index 15efff7..30e65d3 100644 --- a/source/modules/asura-core/image/image_decoder.h +++ b/source/modules/asura-core/image/image_decoder.h @@ -5,31 +5,29 @@ #include "image_data.h" -namespace AsuraEngine -{ - namespace Image - { +namespace_begin(AsuraEngine) +namespace_begin(Image) - ASURA_ABSTRACT class ImageDecoder - { - public: +ASURA_ABSTRACT class ImageDecoder +{ +public: - ImageDecoder() {}; - virtual ~ImageDecoder() {}; + ImageDecoder() {}; + virtual ~ImageDecoder() {}; - /// - /// жڴǷñdecoderѹ - /// - virtual bool CanDecode(AEIO::DataBuffer& input) = 0; + /// + /// жڴǷñdecoderѹ + /// + virtual bool CanDecode(AEIO::DataBuffer& input) = 0; - /// - /// һڴ棬һѹImage dataѹʧܷnullptr - /// - virtual void Decode(AEIO::DataBuffer& input, ImageData& target) = 0; + /// + /// һڴ棬һѹImage dataѹʧܷnullptr + /// + virtual void Decode(AEIO::DataBuffer& input, ImageData& target) = 0; - }; +}; - } -} +namespace_end +namespace_end #endif
\ No newline at end of file |