36 #include "WideString.h" 37 #include "IDThreading.h" 41 using namespace adobe::afl;
50 typedef AFile inherited;
80 IDFile(
const AString& pathStr);
127 : AFile(std::move(rhs))
129 , fDebugPath(std::move(rhs.fDebugPath))
132 , fTmpPathStr(std::move(rhs.fTmpPathStr))
148 IDFile& operator=(
const AFile& rhs);
156 bool operator==(
const IDFile& rhs)
const;
164 bool operator!=(
const IDFile& rhs)
const;
171 void SetPath(
const IDPath& path);
188 bool IsStationary()
const;
195 bool SetStationary(
bool bStationary);
239 bool16 SetFileName(
const PMString& nameStr);
256 void ReadWriteDeprecated(
IPMStream* iPMStream);
263 void SetString(
const PMString& str);
270 void SetCString(ConstCString cStr);
277 void SetTString(
const TCHAR* xStr);
286 void SetXString(
const char* xStr, int32 nBytes);
295 void SetXString(
const UTF16TextChar* xStr, int32 nDblBytes);
307 TCHAR* GrabTString();
313 const TCHAR* GrabTString()
const;
319 const UTF16TextChar* GrabWString()
const;
322 #elif defined MACINTOSH 328 uint32 GetParId()
const;
335 uint32 GetNodeId()
const;
343 void SetString(
const PMString& str);
359 void PathChanged(
const AString& path);
370 #elif defined MACINTOSH 393 swap(static_cast<AFile &>(lhs), static_cast<AFile &>(rhs));
395 swap(lhs.fDebugPath, rhs.fDebugPath);
398 swap(lhs.fTmpPathStr, rhs.fTmpPathStr);
410 ADOBE_NAME_TYPE_0(
"idfile:indesign:adobe",
IDFile)