mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-12-14 12:09:36 +00:00
Refactoring
This commit is contained in:
@@ -4,31 +4,20 @@
|
||||
|
||||
#include "PLCore.h"
|
||||
|
||||
struct ResType
|
||||
{
|
||||
};
|
||||
|
||||
class PLPasStr;
|
||||
|
||||
void DetachResource(Handle hdl);
|
||||
void ReleaseResource(Handle hdl);
|
||||
|
||||
short CurResFile();
|
||||
void UseResFile(short fid);
|
||||
Handle Get1Resource(UInt32 resID, int index);
|
||||
Handle Get1IndResource(UInt32 resID, int index);
|
||||
int Count1Resources(UInt32 resType);
|
||||
|
||||
void HCreateResFile(PortabilityLayer::VirtualDirectory_t dirID, const PLPasStr &name);
|
||||
PLError_t ResError();
|
||||
|
||||
short FSpOpenResFile(const VFileSpec &spec, int permission);
|
||||
void CloseResFile(short refNum);
|
||||
PLError_t HCreateResFile(PortabilityLayer::VirtualDirectory_t dirID, const PLPasStr &name);
|
||||
|
||||
void SetResLoad(Boolean load); // Sets whether resources should be loaded when requested
|
||||
|
||||
long GetMaxResourceSize(Handle res);
|
||||
void GetResInfo(Handle res, short *resID, ResType *resType, Str255 resName);
|
||||
|
||||
// This should return -1 on error?
|
||||
short HOpenResFile(PortabilityLayer::VirtualDirectory_t dirID, const PLPasStr &name, int permissions);
|
||||
|
||||
Reference in New Issue
Block a user