appletprocess.h File Reference

#include <Processes.h>
#include "appletdefs.h"

Include dependency graph for appletprocess.h:

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

Go to the source code of this file.

Data Structures

struct  typrocessinfo

Defines

#define appletprocessinclude

Typedefs

typedef typrocessinfo ** hdlprocessinfo
typedef boolean(* typrocessloopcallback )(typrocessinfo *, long)

Functions

boolean processloop (typrocessloopcallback, long)
boolean findrunningapp (OSType, typrocessinfo *)
boolean bringapptofront (OSType)
boolean launchappwithdoc (FSSpec *, FSSpec *, boolean)
boolean sendodoc (OSType, FSSpec *)
boolean launchusingfinder (FSSpec *)
boolean revealinfinder (FSSpec *)
boolean launchdeskaccessoryfile (FSSpec *)
boolean fileisrunning (FSSpec *)
boolean equalprocesses (typrocessinfo *, typrocessinfo *)
boolean quitapplication (OSType)
boolean launchHelperApp (OSType, void *)
boolean getcurrentappfilespec (FSSpec *)
boolean getcurrentappfolder (FSSpec *)


Define Documentation

#define appletprocessinclude
 

Definition at line 7 of file appletprocess.h.


Typedef Documentation

typedef struct typrocessinfo ** hdlprocessinfo
 

typedef boolean(* typrocessloopcallback)(typrocessinfo *, long)
 

Definition at line 52 of file appletprocess.h.


Function Documentation

boolean bringapptofront OSType   ) 
 

Definition at line 137 of file appletprocess.c.

References findrunningapp(), and info.

Referenced by finderevent().

Here is the call graph for this function:

boolean equalprocesses typrocessinfo ,
typrocessinfo
 

Definition at line 562 of file appletprocess.c.

boolean fileisrunning FSSpec  ) 
 

Definition at line 552 of file appletprocess.c.

References apprunningflag, fileisrunningvisit(), and processloop().

Here is the call graph for this function:

boolean findrunningapp OSType  ,
typrocessinfo
 

Definition at line 127 of file appletprocess.c.

References clearbytes(), findrunningappvisit(), info, longsizeof, and processloop().

Here is the call graph for this function:

boolean getcurrentappfilespec FSSpec  ) 
 

Referenced by getcurrentappfolder().

boolean getcurrentappfolder FSSpec  ) 
 

Referenced by gethelperfolder().

boolean launchappwithdoc FSSpec ,
FSSpec ,
boolean 
 

Definition at line 203 of file appletprocess.c.

References buildlaunchparamlist(), clearbytes(), disposehandle(), EventAvail(), everyEvent, i, lockhandle(), longsizeof, nil, and noErr.

Referenced by assureappisrunning(), and helpercallback().

Here is the call graph for this function:

boolean launchdeskaccessoryfile FSSpec  ) 
 

Definition at line 590 of file appletprocess.c.

References nil, and syserror().

Here is the call graph for this function:

boolean launchHelperApp OSType  ,
void * 
 

Definition at line 687 of file appletprocess.c.

References copystring(), errormessage, findrunningapp(), folderloop(), gethelperfolder(), helperappinfo, helpercallback(), info, and setstringlength.

Referenced by launchFrontier().

Here is the call graph for this function:

boolean launchusingfinder FSSpec  ) 
 

Definition at line 522 of file appletprocess.c.

References finderevent(), and kAEOpenSelection.

Referenced by mouseinline().

Here is the call graph for this function:

boolean processloop typrocessloopcallback  ,
long 
 

Definition at line 59 of file appletprocess.c.

References clearbytes(), typrocessinfo::file, longsizeof, typrocessinfo::name, and noErr.

Referenced by fileisrunning(), and findrunningapp().

Here is the call graph for this function:

boolean quitapplication OSType   ) 
 

Definition at line 572 of file appletprocess.c.

References fl, IACnewverb(), IACsendverb(), kAEQuitApplication, and kCoreEventClass.

Here is the call graph for this function:

boolean revealinfinder FSSpec  ) 
 

Definition at line 528 of file appletprocess.c.

References finderevent().

Here is the call graph for this function:

boolean sendodoc OSType  ,
FSSpec
 

Definition at line 313 of file appletprocess.c.

References findrunningapp(), fl, IACsendverb(), info, kAEOpenDocuments, kCoreEventClass, keyDirectObject, noErr, pushaliaslist(), sizeof(), and typeProcessSerialNumber.

Here is the call graph for this function:


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