#ifndef _DNAMP1_CSNG_HPP_ #define _DNAMP1_CSNG_HPP_ #include "../DNACommon/DNACommon.hpp" #include "DNAMP1.hpp" namespace DataSpec { namespace DNAMP1 { class CSNG { struct Header : BigDNA { DECL_DNA Value magic = 0x2; Value midiSetupId; Value songGroupId; UniqueID32 agscId; Value sngLength; }; public: static bool Extract(PAKEntryReadStream& rs, const hecl::ProjectPath& outPath); static bool Cook(const hecl::ProjectPath& inPath, const hecl::ProjectPath& outPath); }; } } #endif // _DNAMP1_CSNG_HPP_