#include <IResourceStreamData.h>
|
| enum | { kDefaultIID = IID_IRESOURCESTREAMDATA } |
| |
Interface used on resource stream objects to denote the resource to be read, and the database for the result.
- See Also
- StreamUtil, IObjectTextFileStreamData
| virtual IDataBase* IResourceStreamData::GetDataBase | ( | | ) | const |
| pure virtual |
| virtual const RsrcSpec& IResourceStreamData::GetRsrcSpec | ( | | ) | const |
| pure virtual |
get the resource spec (type and id)
| virtual bool16 IResourceStreamData::GetUseLocaleIndex | ( | | ) | const |
| pure virtual |
Get the "use locale index" flag
| virtual void IResourceStreamData::Set | ( | const RsrcSpec & | spec, | | | IDataBase * | db = 0, | | | bool16 | useLocaleIndex = kTrue | | ) | | |
| pure virtual |
Set the resource type and id to be read by the stream object. Database is set if the stream implementation needs to create objects in a database as a result of reading data from the stream.
- See Also
- ResourceStreamRead, ObjectResourceStreamRead