appletresource.c File Reference

#include "appletmemory.h"
#include "appletresource.h"

Include dependency graph for appletresource.c:

Go to the source code of this file.

Functions

boolean openresourcefile (ptrfilespec pfs, short *rnum)
boolean closeresourcefile (short rnum)
boolean getresource (short rnum, OSType type, short id, long ct, void *p)
boolean putresource (short rnum, OSType type, short id, long ct, void *p)
boolean getresourcehandle (short rnum, OSType type, short id, Handle *hreturned)
boolean putresourcehandle (short rnum, OSType type, short id, Handle h)
boolean getresourcestring (short index, bigstring bs)
boolean getstringlistitem (short resnum, short index, bigstring bs)
boolean deleteresource (short rnum, OSType type, short id)


Function Documentation

boolean closeresourcefile short  rnum  ) 
 

Definition at line 50 of file appletresource.c.

References noErr.

boolean deleteresource short  rnum,
OSType  type,
short  id
 

Definition at line 152 of file appletresource.c.

References disposehandle(), fl, h, and nil.

Here is the call graph for this function:

boolean getresource short  rnum,
OSType  type,
short  id,
long  ct,
void *  p
 

Definition at line 67 of file appletresource.c.

References h, moveleft(), and nil.

Referenced by filegetversion(), and openappwindow().

Here is the call graph for this function:

boolean getresourcehandle short  rnum,
OSType  type,
short  id,
Handle hreturned
 

Definition at line 107 of file appletresource.c.

References copyhandle(), h, and nil.

Here is the call graph for this function:

boolean getresourcestring short  index,
bigstring  bs
 

Definition at line 136 of file appletresource.c.

References noErr.

Referenced by modaldialogcallback().

boolean getstringlistitem short  resnum,
short  index,
bigstring  bs
 

Definition at line 144 of file appletresource.c.

References noErr.

boolean openresourcefile ptrfilespec  pfs,
short rnum
 

Definition at line 12 of file appletresource.c.

References closeresourcefile(), error, and noErr.

Here is the call graph for this function:

boolean putresource short  rnum,
OSType  type,
short  id,
long  ct,
void *  p
 

Definition at line 82 of file appletresource.c.

References h, newfilledhandle(), nil, noErr, and sethandlecontents().

Referenced by putresourcehandle(), and saveappwindow().

Here is the call graph for this function:

boolean putresourcehandle short  rnum,
OSType  type,
short  id,
Handle  h
 

Definition at line 122 of file appletresource.c.

References fl, GetHandleSize, lockhandle(), putresource(), and unlockhandle().

Referenced by saveappwindow().

Here is the call graph for this function:


Generated on Wed May 31 21:43:36 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6