mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 23:00:42 +00:00
Working up to start of menu loading
This commit is contained in:
@@ -51,7 +51,7 @@ struct FileInfoBlock
|
||||
void *ioCompletion;
|
||||
short ioVRefNum; // Volume ref num
|
||||
StringPtr ioNamePtr;
|
||||
int ioFDirIndex; // Index (1-based!)
|
||||
int ioFDirIndex; // Index: If >0, Nth directory in ioVRefNum. If 0, lookup by name. If <0, do behavior that we don't support.
|
||||
long ioDirID; // Input: Directory ID Output: File ID
|
||||
int ioFlAttrib; // File attributes
|
||||
FinderInfoBlock ioFlFndrInfo;
|
||||
@@ -74,6 +74,13 @@ struct CInfoPBRec
|
||||
DirInfoBlock dirInfo;
|
||||
};
|
||||
|
||||
struct DirectoryFileListEntry
|
||||
{
|
||||
FinderInfoBlock finderInfo;
|
||||
Str32 name;
|
||||
DirectoryFileListEntry *nextEntry;
|
||||
};
|
||||
|
||||
struct Cursor
|
||||
{
|
||||
};
|
||||
@@ -324,6 +331,7 @@ OSErr FSMakeFSSpec(int refNum, long dirID, const PLPasStr &fileName, FSSpec *spe
|
||||
OSErr FSpCreate(const FSSpec *spec, UInt32 creator, UInt32 fileType, ScriptCode scriptTag);
|
||||
OSErr FSpDirCreate(const FSSpec *spec, ScriptCode script, long *outDirID);
|
||||
OSErr FSpOpenDF(const FSSpec *spec, int permission, short *refNum);
|
||||
OSErr FSpOpenRF(const FSSpec *spec, int permission, short *refNum);
|
||||
OSErr FSWrite(short refNum, long *byteCount, const void *data);
|
||||
OSErr FSRead(short refNum, long *byteCount, void *data);
|
||||
OSErr FSpDelete(const FSSpec *spec);
|
||||
@@ -334,6 +342,9 @@ OSErr SetEOF(short refNum, long byteCount);
|
||||
|
||||
OSErr PBGetCatInfo(CInfoPBPtr paramBlock, Boolean async);
|
||||
|
||||
DirectoryFileListEntry *GetDirectoryFiles(long dirID);
|
||||
void DisposeDirectoryFiles(DirectoryFileListEntry *firstDFL);
|
||||
|
||||
short StringWidth(const PLPasStr &str);
|
||||
|
||||
void GetMouse(Point *point);
|
||||
@@ -393,6 +404,7 @@ WindowPtr PL_GetPutInFrontWindowPtr();
|
||||
|
||||
void PL_NotYetImplemented();
|
||||
void PL_NotYetImplemented_Minor();
|
||||
void PL_NotYetImplemented_TODO();
|
||||
void PL_Init();
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user