Main Page | Alphabetical List | Class List | Directories | File List | Class Members | Related Pages

DAApplication.h

00001 //
00002 //  DAApplication.h
00003 //  DownAndOutª
00004 //
00005 //  Created by Fritz Anderson on Wed Aug 20 2003.
00006 //  Copyright (c) 2003 Trustees of the University of Chicago. All rights reserved.
00007 //  This program is free software; you can redistribute it and/or modify
00008 //  it under the terms of the GNU General Public License as published by
00009 //  the Free Software Foundation; either version 2 of the License, or
00010 //  (at your option) any later version.
00011 //  
00012 //  This program is distributed in the hope that it will be useful,
00013 //  but WITHOUT ANY WARRANTY; without even the implied warranty of
00014 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015 //  GNU General Public License for more details.
00016 //  
00017 //  You should have received a copy of the GNU General Public License
00018 //  along with this program; if not, write to the Free Software
00019 //  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
00020 //
00021 
00022 #import <Foundation/Foundation.h>
00023 
00025 #define DAAPPLICATION_INVALID_PID   -1
00026 
00031 @interface DAApplication : NSObject {
00032     NSString *      name;   
00033 }
00034 
00039 + (int) countApplications;
00043 + (NSMutableArray *) launchedApplications;
00044 
00048 + (NSMutableArray *) quitApplicationNames;
00052 + (NSMutableArray *) killedApplicationNames;
00053 
00058 - (id) initWithName: (NSString *) inName;
00064 - (id) initWithIndex: (int) index;
00065 
00069 - (NSString *) name;
00073 - (NSString *) fileName;
00077 - (int) processID;
00081 - (NSString *) bundleID;
00086 - (BOOL) isRunning;
00087 
00098 - (void) quitWithoutSaving;
00099 
00107 - (BOOL) kill: (int) signal;
00108 
00114 - (BOOL) killObj: (id) hasIntValue;
00115 
00116 @end

Generated on Wed Jan 25 12:04:27 2006 for DownAndOut by  doxygen 1.4.4