diff options
Diffstat (limited to 'Public/Kits/System.Core/Containers')
| -rw-r--r-- | Public/Kits/System.Core/Containers/XIFF.hxx | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/Public/Kits/System.Core/Containers/XIFF.hxx b/Public/Kits/System.Core/Containers/XIFF.hxx new file mode 100644 index 00000000..28c25bf9 --- /dev/null +++ b/Public/Kits/System.Core/Containers/XIFF.hxx @@ -0,0 +1,40 @@ +/** =========================================== + (C) Mahrouss Logic + ===========================================*/ + +#ifndef __XIFF__ +#define __XIFF__ + +/** --------------------------------------------------- + + * THIS FILE CONTAINS CODE FOR THE eXtended Information File Format. + * XIFF is used to make setup programs/audio/video files. + +------------------------------------------------------- */ + +#include <System.Core/CoreAPI.hxx> + +/// @brief four-character code for XIFF. +#define kFourCCLength_XIFF 4 + +/*** + * @brief Generic XIFF header + * Used by XIFF based containers. + */ + +struct PACKED XiffHeader final { + BYTE f_Mag[kFourCCLength_XIFF]; // XIFF string (includes \0) + DWORD f_Size; // overall size of header (XiffHeader) in bytes + DWORD f_FormatType; // format type. generic + BYTE f_SpecificMag[4]; // The sub header magic + DWORD f_SpecificSize; // length of the format data + DWORD f_SpecificFormatType; // format type. generic +}; + +#define kXIFFContainerVideo "XVFF" +#define kXIFFContainerAudio "XAFF" +#define kXIFFContainerInstaller "XnFF" +#define kXIFFContainerGeneric "XIFF" +#define kXIFFContainerBinary "XEFF" + +#endif // ifndef __XIFF__ |
