osacomponent.h

Go to the documentation of this file.
00001 
00002 /*  $Id: osacomponent.h 355 2005-01-11 22:48:55Z andreradke $    */
00003 
00004 /******************************************************************************
00005 
00006     UserLand Frontier(tm) -- High performance Web content management,
00007     object database, system-level and Internet scripting environment,
00008     including source code editing and debugging.
00009 
00010     Copyright (C) 1992-2004 UserLand Software, Inc.
00011 
00012     This program is free software; you can redistribute it and/or modify
00013     it under the terms of the GNU General Public License as published by
00014     the Free Software Foundation; either version 2 of the License, or
00015     (at your option) any later version.
00016 
00017     This program is distributed in the hope that it will be useful,
00018     but WITHOUT ANY WARRANTY; without even the implied warranty of
00019     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00020     GNU General Public License for more details.
00021 
00022     You should have received a copy of the GNU General Public License
00023     along with this program; if not, write to the Free Software
00024     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00025 
00026 ******************************************************************************/
00027 
00028 #ifndef osacomponentinclude
00029 #define osacomponentinclude
00030 
00031 #ifdef MACVERSION
00032 #ifndef __COMPONENTS__
00033     #include <Components.h>
00034 #endif
00035 
00036 #ifndef __OSA__
00037     #include <OSA.h>
00038 #endif
00039 #endif
00040 
00041 /*globals*/
00042 
00043 extern Component osacomponent;
00044 
00045 
00046 /*prototypes*/
00047 
00048 extern boolean havecomponentmanager (void);
00049 
00050 extern boolean osagetcode (Handle, OSType, boolean, tyvaluerecord *);
00051 
00052 extern boolean osagetsource (const tyvaluerecord *, OSType *, tyvaluerecord *);
00053 
00054 extern boolean isosascriptnode (hdltreenode, tyvaluerecord *);
00055 
00056 extern ComponentInstance getosaserver (OSType);
00057 
00058 extern boolean evaluateosascript (const tyvaluerecord *, hdltreenode, bigstring, tyvaluerecord *);
00059 
00060 extern boolean evaluateosascriptevent (const tyvaluerecord *, const AppleEvent *, AppleEvent *);
00061 
00062 extern boolean osacomponentstart (void);
00063 
00064 extern boolean osacomponentverifyshutdown (void);
00065 
00066 extern void osacomponentshutdown (void);
00067 
00068 
00069 #endif
00070 
00071 
00072 
00073 
00074 
00075 

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