24 #ifndef __StreamUtil__ 25 #define __StreamUtil__ 27 #include "ShuksanID.h" 28 #include "IPMStream.h" 29 #include "IBoolData.h" 31 #define ID_FORWARD_DECLARE(_X) \ 33 using _X##Ptr = std::shared_ptr<_X>;\ 34 using Const##_X##Ptr = std::shared_ptr<const _X>;\ 35 using _X##WeakPtr = std::weak_ptr<_X>;\ 36 using Const##_X##WeakPtr = std::weak_ptr<const _X>;\ 37 using _X##UniquePtr = std::unique_ptr<_X>;\ 40 ID_FORWARD_DECLARE(Composite);
182 static IPMStream *CreateObjectTextFileStreamWrite(
IDataBase* db,
const IDFile& sysFile, uint32 mode = kOpenOut, OSType fileType = 0x3f3f3f3f, OSType creator = 0x3f3f3f3f);
358 static IPMStream* CreateDCXCompositeStream(
ClassID clsID,
const AdobeDCX::CompositePtr compositePtr);
362 #endif // __StreamUtil__