24 #ifndef __FileTypeRegistry_h__ 25 #define __FileTypeRegistry_h__ 27 #include "PMLocaleId.h" 29 #include "FileTypeInfo.h" 31 #include "KeyValuePair.h" 33 #include "IDResourceShell.h" 222 void LoadFileTypeRegistry();
223 bool SetupBootStrapStringStreamCallback(
IDResource r);
224 bool PubFileAliasCountCallback(
IDResource r,
void* count);
225 void AddFileTypeTable(
IPMStream* stream);
251 {AddCurrentInfo(info);}
252 IDInfo(
const IDInfo &other)
257 bool operator==(
const IDInfo&)
const { ASSERT_FAIL(
"appease K2Vector.Location");
return false; }
260 {fInfoList.push_back(info);}
261 bool16 RemoveCurrentInfo()
262 {fInfoList.pop_back();
return !fInfoList.empty();}
264 {list = fInfoList;
return !fInfoList.empty();}
266 IDInfo&operator =(
const IDInfo &other)
267 {Copy(other);
return *
this;}
270 void Copy(
const IDInfo &other)
271 {fInfoList = other.fInfoList;}
283 IDVector::iterator fMRU;
286 OSType fPubCurrentCreator;
290 #endif // __FileTypeRegistry_h__