resources.h File Reference

#include "shelltypes.h"

Include dependency graph for resources.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  tyforktype { resourcefork = 1, datafork }

Functions

boolean getstringlist (short, short, bigstring)
boolean findstringlist (bigstring, short, short *)
boolean closeresourcefile (short)
boolean openresourcefile (const tyfilespec *, short *, short)
boolean writeresource (ResType, short, bigstring, long, void *)
boolean copyresource (short, short, ResType, short)
boolean copyallresources (short, short)
Handle getresourcehandle (ResType, short)
void releaseresourcehandle (Handle)
Handle filegetresource (short, ResType, short, bigstring)
boolean filereadresource (short, ResType, short, bigstring, long, void *)
boolean filewriteresource (short, ResType, short, bigstring, long, void *)
boolean saveresource (const tyfilespec *, short, ResType, short, bigstring, long, void *, short)
boolean saveresourcehandle (const tyfilespec *, ResType, short, bigstring, Handle, short)
boolean loadresource (const tyfilespec *, short, ResType, short, bigstring, long, void *, short)
boolean loadresourcehandle (const tyfilespec *, ResType, short, bigstring, Handle *, short)
boolean deleteresource (const tyfilespec *, ResType, short, bigstring, short)
boolean getnumresourcetypes (const tyfilespec *, short *, short)
boolean getnthresourcetype (const tyfilespec *, short, ResType *, short)
boolean getnumresources (const tyfilespec *, ResType, short *, short)
boolean getnthresourcehandle (const tyfilespec *, ResType, short, short *, bigstring, Handle *, short)
boolean getresourceattributes (const tyfilespec *, ResType, short, bigstring, short *, short)
boolean setresourceattributes (const tyfilespec *, ResType, short, bigstring, short, short)


Enumeration Type Documentation

enum tyforktype
 

Enumerator:
resourcefork 
datafork 

Definition at line 96 of file resources.h.


Function Documentation

boolean closeresourcefile short   ) 
 

Definition at line 117 of file resources.c.

Referenced by closewindowfile(), filegetversion(), openappwindow(), openresourcefile(), saveappwindow(), shelldatabasesaveas(), shellnewfile(), shellnormalsaveas(), and shellopenfile().

boolean copyallresources short  ,
short 
 

Definition at line 372 of file resources.c.

Referenced by shelldatabasesaveas().

boolean copyresource short  ,
short  ,
ResType  ,
short 
 

boolean deleteresource const tyfilespec ,
ResType  ,
short  ,
bigstring  ,
short 
 

Referenced by deleteresourceverb().

Handle filegetresource short  ,
ResType  ,
short  ,
bigstring 
 

Definition at line 473 of file resources.c.

References get1resource(), and nil.

Referenced by checktable(), filereadresource(), and getresourcehandle().

Here is the call graph for this function:

boolean filereadresource short  ,
ResType  ,
short  ,
bigstring  ,
long  ,
void * 
 

Definition at line 501 of file resources.c.

References filegetresource(), gethandlesize(), min, and moveleft().

Referenced by loadresource().

Here is the call graph for this function:

boolean filewriteresource short  ,
ResType  ,
short  ,
bigstring  ,
long  ,
void * 
 

boolean findstringlist bigstring  ,
short  ,
short
 

Definition at line 81 of file resources.c.

References alllower(), bigstring, copystring(), equalstrings(), and getstringlist().

Referenced by getspecialfolderpath().

Here is the call graph for this function:

boolean getnthresourcehandle const tyfilespec ,
ResType  ,
short  ,
short ,
bigstring  ,
Handle ,
short 
 

Referenced by getnthresinfoverb(), and getnthresourceverb().

boolean getnthresourcetype const tyfilespec ,
short  ,
ResType ,
short 
 

Referenced by getnthrestypeverb().

boolean getnumresources const tyfilespec ,
ResType  ,
short ,
short 
 

Referenced by countresourcesverb().

boolean getnumresourcetypes const tyfilespec ,
short ,
short 
 

Referenced by countrestypesverb().

boolean getresourceattributes const tyfilespec ,
ResType  ,
short  ,
bigstring  ,
short ,
short 
 

Referenced by getresourceattrsverb().

Handle getresourcehandle ResType  ,
short 
 

Definition at line 1054 of file resources.c.

Referenced by filegetversion(), loadconfigresource(), loadfunctionprocessor(), and openappwindow().

boolean getstringlist short  ,
short  ,
bigstring 
 

Definition at line 45 of file resources.c.

Referenced by alertstring(), ccfunctionvalue(), ccloadspecialfile(), clipboardfunctionvalue(), cmderrorroutine(), cmdsetfields(), dberror(), filefunctionvalue(), filemenufunctionvalue(), findstringlist(), getcomponentstringhandle(), getdefaultfilename(), getoutlinevalue(), getprogramname(), getrecordingstring(), getstatsstring(), getsystemerrorstring(), getsystemtablescript(), gettableparam(), getundomenuitem(), getuntitledfilename(), hashreporterror(), htmlfunctionvalue(), initstrings(), kstring(), lang3paramerror(), langcheckstacklimit(), langerror(), langerrordrawicon(), langerrornewwindow(), langgetmiscstring(), langgetstringlist(), langipcggettableparam(), langparamerrormessage(), languntraperrors(), launchfunctionvalue(), loadconfigresource(), mathfunctionvalue(), menufunctionvalue(), menuverbgettypestring(), odbvaltotable(), opfunctionvalue(), oploadstringlist(), opverbgettypestring(), opverbrejectmenubar(), opverbrejecttable(), osaScriptingComponentName(), parsenumberstring(), pictfunctionvalue(), picttextparse(), pictverbgettypestring(), pictverbpacktotext(), postthreadsmessage(), replacevariabledialog(), rezfunctionvalue(), searchfunctionvalue(), setTextEncodingConversionError(), shelladjustundo(), shelldefaultsetundostatus(), shellgetstring(), shellinit(), shellopen(), shellopendefaultfile(), stringaddcommas(), sysfunctionvalue(), tablefillsortpopup(), tablefunctionvalue(), tablegetstringlist(), tablesavesystemtable(), tableupdatekindpopup(), tableupdatesortpopup(), threadfunctionvalue(), timedatestring(), windowfunctionvalue(), wpfunctionvalue(), wpverbgettypestring(), xmlfunctionvalue(), and xmlgetaddresslistverb().

boolean loadresource const tyfilespec ,
short  ,
ResType  ,
short  ,
bigstring  ,
long  ,
void *  ,
short 
 

Definition at line 731 of file resources.c.

References filereadresource(), get1resource(), gethandlesize(), min, moveleft(), nil, and releaseresourcehandle().

Referenced by loaddefaultfont(), and loadwindowposition().

Here is the call graph for this function:

boolean loadresourcehandle const tyfilespec ,
ResType  ,
short  ,
bigstring  ,
Handle ,
short 
 

Referenced by getresourceverb(), and resourceexistsverb().

boolean openresourcefile const tyfilespec ,
short ,
short 
 

Definition at line 142 of file resources.c.

Referenced by filegetversion(), openappwindow(), saveappwindow(), shelldatabasesaveas(), shellnewfile(), shellnormalsaveas(), and shellopenfile().

void releaseresourcehandle Handle   ) 
 

Definition at line 1065 of file resources.c.

References DisposeHandle.

Referenced by loadconfigresource(), loadfunctionprocessor(), and loadresource().

boolean saveresource const tyfilespec ,
short  ,
ResType  ,
short  ,
bigstring  ,
long  ,
void *  ,
short 
 

Referenced by shellsavefontresource(), and shellsavewindowresource().

boolean saveresourcehandle const tyfilespec ,
ResType  ,
short  ,
bigstring  ,
Handle  ,
short 
 

Referenced by putresourceverb().

boolean setresourceattributes const tyfilespec ,
ResType  ,
short  ,
bigstring  ,
short  ,
short 
 

Referenced by setresourceattrsverb().

boolean writeresource ResType  ,
short  ,
bigstring  ,
long  ,
void * 
 


Generated on Sat Jun 10 02:28:00 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6