summaryrefslogtreecommitdiff
path: root/source/XMPFiles/FormatSupport/RIFF_Support.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/XMPFiles/FormatSupport/RIFF_Support.hpp')
-rw-r--r--source/XMPFiles/FormatSupport/RIFF_Support.hpp23
1 files changed, 22 insertions, 1 deletions
diff --git a/source/XMPFiles/FormatSupport/RIFF_Support.hpp b/source/XMPFiles/FormatSupport/RIFF_Support.hpp
index bb63070..8065e38 100644
--- a/source/XMPFiles/FormatSupport/RIFF_Support.hpp
+++ b/source/XMPFiles/FormatSupport/RIFF_Support.hpp
@@ -116,9 +116,11 @@ namespace RIFF_Support
** will contain the field size if true if returned.
**
** Returns true if the chunk is found.
+ **
+ ** position of chunk _contents_ is returned in postPtr
*/
bool GetRIFFChunk ( LFA_FileRef inFileRef, RiffState & inOutRiffState, long tagID, long parentID,
- long subtypeID, char * outBuffer, unsigned long * outBufferSize );
+ long subtypeID, char * outBuffer, unsigned long * outBufferSize, UInt64* posPtr = 0);
/**
@@ -169,4 +171,23 @@ namespace RIFF_Support
} // namespace RIFF_Support
+// =================================================================================================
+
+// *** Could be moved to a separate header
+
+namespace CreatorAtom {
+
+ bool Import ( SXMPMeta& xmpObj,
+ LFA_FileRef fileRef,
+ RIFF_Support::RiffState& riffState );
+
+ bool Update ( SXMPMeta& xmpObj,
+ LFA_FileRef fileRef,
+ long riffType,
+ RIFF_Support::RiffState& riffState );
+
+}
+
+// =================================================================================================
+
#endif // __RIFF_Support_hpp__