appletfrontier.h

Go to the documentation of this file.
00001 
00002 /*  $Id: appletfrontier.h 355 2005-01-11 22:48:55Z andreradke $    */
00003 
00004 /* copyright 1991-96 UserLand Software, Inc. All Rights Reserved.*/
00005 
00006 
00007 #define frontierinclude
00008 
00009 
00010 #define editTableVerb   'edtt' /*commands that can be sent with an embedded table*/
00011 #define startupVerb     'init'
00012 #define deleteVerb      'dele'
00013 
00014 
00015 typedef struct tyembeddedinfo { /*allows appletfrontier.c to not use the applet toolkit*/
00016     
00017     FSSpec filespec;
00018     
00019     short fnum;
00020     
00021     Handle h;
00022     
00023     OSType creator;
00024     
00025     bigstring windowtitle;
00026     } tyembeddedinfo;
00027     
00028 
00029 extern tyembeddedinfo embeddedinfo; /*set this up before calling one of the embedded routines*/
00030 
00031 
00032 typedef boolean (*tyalertcallback) (bigstring);
00033 
00034 
00035 boolean FrontierDoScript (bigstring, bigstring);
00036 
00037 boolean FrontierDoHandleScript (Handle, boolean, boolean, bigstring, Handle *);
00038 
00039 boolean FrontierFastDoScript (bigstring, boolean, bigstring, bigstring);
00040 
00041 boolean FrontierOpenObject (bigstring);
00042 
00043 boolean FrontierIsRunning (void);
00044 
00045 boolean getFrontierVersion (short *, short *, short *, boolean *);
00046 
00047 boolean tableVerb (OSType, tyalertcallback, boolean);
00048 
00049 boolean getEmbeddedTable (tyalertcallback);
00050 
00051 boolean renameEmbeddedTable (bigstring, bigstring, tyalertcallback);
00052 
00053 boolean runEmbeddedScript (Handle, Handle *);
00054 
00055 boolean FrontierGetObject (Handle, bigstring, Handle *, OSType *);
00056 
00057 boolean editFrontierObject (bigstring);

Generated on Wed May 31 18:19:42 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6