41 #include "WasmSysType.h" 45 typedef uint32_t OSType;
48 typedef OSType SysOSType;
50 #if defined(MACINTOSH) 51 const SysOSType kAnyCreator = 0x3f3f3f3f;
52 const SysOSType kTextType =
'TEXT';
53 const SysOSType kAllTypes = 0x3f3f3f3f;
56 const SysOSType kAnyCreator = 0;
57 const SysOSType kTextType = 0;
60 const SysOSType kAnyCreator = 0x3f3f3f3f;
61 const SysOSType kTextType = 0x3f3f3f3f;
64 #include "SysFileType.h" 68 const RsrcID kInvalidRsrcID = 0;
73 PMRsrcID() : fId(kInvalidRsrcID),fPluginId(kInvalidPlugin) {}
74 PMRsrcID(
const RsrcID rID,
const PluginID& pluginID) : fId(rID),fPluginId(pluginID) {}
75 PMRsrcID(
const PMRsrcID& other) : fId(other.fId),fPluginId(other.fPluginId) {}
77 void operator=(
const PMRsrcID& other) { fId = other.fId; fPluginId = other.fPluginId; }
79 bool operator==(
const PMRsrcID& other)
const {
return (fId == other.fId) && (fPluginId == other.fPluginId); }
81 bool operator <(
const PMRsrcID& rhs)
const 86 return fPluginId < rhs.fPluginId;
96 const GSysPoint kInvalidMousePoint(-kMaxInt16,-kMaxInt16);
98 const GSysPoint kInvalidMousePoint = {-kMaxInt16,-kMaxInt16};
101 #endif // __PMTYPES__