diff options
author | Hubert Figuière <hub@figuiere.net> | 2013-05-14 18:21:26 -0400 |
---|---|---|
committer | Hubert Figuière <hub@figuiere.net> | 2013-05-14 18:21:26 -0400 |
commit | 81a4c6bcb1879cb321246590faca595e9746f8e5 (patch) | |
tree | cf92c416eb3e41708149905abd0030680aebadf5 /XMPFiles/source/FormatSupport/AIFF/AIFFMetadata.h | |
parent | 42dbac60f15e038270d6e0c7285caba8256e86f1 (diff) |
Update to XMP SDK CS6
Diffstat (limited to 'XMPFiles/source/FormatSupport/AIFF/AIFFMetadata.h')
-rw-r--r-- | XMPFiles/source/FormatSupport/AIFF/AIFFMetadata.h | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/XMPFiles/source/FormatSupport/AIFF/AIFFMetadata.h b/XMPFiles/source/FormatSupport/AIFF/AIFFMetadata.h new file mode 100644 index 0000000..13dbf1c --- /dev/null +++ b/XMPFiles/source/FormatSupport/AIFF/AIFFMetadata.h @@ -0,0 +1,63 @@ +// ================================================================================================= +// ADOBE SYSTEMS INCORPORATED +// Copyright 2010 Adobe Systems Incorporated +// All Rights Reserved +// +// NOTICE: Adobe permits you to use, modify, and distribute this file in accordance with the terms +// of the Adobe license agreement accompanying it. +// ================================================================================================= + +#ifndef _AIFFMetadata_h_ +#define _AIFFMetadata_h_ + +#include "public/include/XMP_Environment.h" // ! XMP_Environment.h must be the first included header. + +#include "public/include/XMP_Const.h" +#include "public/include/XMP_IO.hpp" + +#include "XMPFiles/source/XMPFiles_Impl.hpp" +#include "source/XMPFiles_IO.hpp" + +#include "source/XMP_LibUtils.hpp" + +#include "XMPFiles/source/FormatSupport/IFF/IChunkData.h" +#include "XMPFiles/source/NativeMetadataSupport/IMetadata.h" + + +namespace IFF_RIFF +{ + +/** + * AIFF Metadata model. + * Implements the IMetadata interface + */ +class AIFFMetadata : public IMetadata +{ +public: + enum + { + kName, // std::string + kAuthor, // std::string + kCopyright, // std::string + kAnnotation // std::string + }; + +public: + AIFFMetadata(); + ~AIFFMetadata(); + +protected: + /** + * @see IMetadata::isEmptyValue + */ + virtual bool isEmptyValue( XMP_Uns32 id, ValueObject& valueObj ); + +private: + // Operators hidden on purpose + AIFFMetadata( const AIFFMetadata& ) {}; + AIFFMetadata& operator=( const AIFFMetadata& ) { return *this; }; +}; + +} // namespace + +#endif |