mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-12-14 03:59:36 +00:00
Refactoring
This commit is contained in:
@@ -63,29 +63,12 @@ int Count1Resources(UInt32 resType)
|
||||
return 0;
|
||||
}
|
||||
|
||||
void HCreateResFile(PortabilityLayer::VirtualDirectory_t dirID, const PLPasStr &name)
|
||||
{
|
||||
PL_NotYetImplemented();
|
||||
}
|
||||
|
||||
PLError_t ResError()
|
||||
PLError_t HCreateResFile(PortabilityLayer::VirtualDirectory_t dirID, const PLPasStr &name)
|
||||
{
|
||||
PL_NotYetImplemented();
|
||||
return PLErrors::kNone;
|
||||
}
|
||||
|
||||
short FSpOpenResFile(const VFileSpec &spec, int permission)
|
||||
{
|
||||
PortabilityLayer::ResourceManager *rm = PortabilityLayer::ResourceManager::GetInstance();
|
||||
|
||||
return rm->OpenResFork(spec.m_dir, spec.m_name);
|
||||
}
|
||||
|
||||
void CloseResFile(short refNum)
|
||||
{
|
||||
PL_NotYetImplemented();
|
||||
}
|
||||
|
||||
void SetResLoad(Boolean load)
|
||||
{
|
||||
PortabilityLayer::ResourceManager::GetInstance()->SetResLoad(load != 0);
|
||||
@@ -98,11 +81,6 @@ long GetMaxResourceSize(Handle res)
|
||||
return resRef->GetSize();
|
||||
}
|
||||
|
||||
void GetResInfo(Handle res, short *resID, ResType *resType, Str255 resName)
|
||||
{
|
||||
PL_NotYetImplemented();
|
||||
}
|
||||
|
||||
short HOpenResFile(PortabilityLayer::VirtualDirectory_t dirID, const PLPasStr &name, int permissions)
|
||||
{
|
||||
PL_NotYetImplemented();
|
||||
|
||||
Reference in New Issue
Block a user