source: trunk/Cocoa/F-Script Anywhere/Source/FSAAppList.h @ 219

Last change on this file since 219 was 219, checked in by rchin, 16 years ago

Fixed commit of nib file.

Added support for automatic injection into apps.

File size: 1.5 KB
Line 
1//
2//  FSAAppList.h
3//  F-Script Anywhere
4//
5//  Created by Nicholas Riley on Fri Feb 01 2002.
6//  Copyright (c) 2002 Nicholas Riley. All rights reserved.
7//
8
9/*
10
11 F-Script Anywhere is free software; you can redistribute it and/or modify
12 it under the terms of the GNU General Public License as published by
13 the Free Software Foundation; either version 2 of the License, or
14 (at your option) any later version.
15
16 F-Script Anywhere is distributed in the hope that it will be useful,
17 but WITHOUT ANY WARRANTY; without even the implied warranty of
18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19 GNU General Public License for more details.
20
21 You should have received a copy of the GNU General Public License
22 along with F-Script Anywhere; if not, write to the Free Software
23 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
24
25*/
26
27#import <Cocoa/Cocoa.h>
28
29@class DeVercruesseProcessManager;
30
31@interface FSAAppList : NSObject {
32    DeVercruesseProcessManager *processManager;
33    NSMutableArray *cocoaApps;
34    NSMutableDictionary *appsByPID;
35    NSMutableSet *patchedApps;
36    NSMutableSet *patchingApps;
37        NSMutableArray *alwaysApps;
38    IBOutlet NSButton *installButton;
39    IBOutlet NSTableView *tableView;
40        BOOL finishedLaunch;
41}
42
43- (pid_t)selectedProcessID;
44- (void)isPatchingProcessID:(pid_t)pid;
45- (void)didPatchProcessID:(pid_t)pid;
46- (void)applicationLaunchedWithProcessID:(pid_t)pid;
47- (void)applicationQuitWithProcessID:(pid_t)pid;
48- (void)update;
49- (NSArray *)cocoaAppProcessIDs;
50
51@end
Note: See TracBrowser for help on using the repository browser.