source: releases/F-Script Anywhere/1.1.2a1/Source/DeVercruesseProcessManager.h@ 137

Last change on this file since 137 was 7, checked in by Nicholas Riley, 22 years ago

F-Script Anywhere 1.1.2a1

File size: 1.8 KB
Line 
1//
2// DeVercruesseProcessManager.h
3//
4// Created by Frank Vercruesse on Wed Apr 04 2001.
5// Copyright (c) 2001 Frank Vercruesse.
6//
7//
8// This program is free software; you can redistribute it and/or
9// modify it under the terms of the GNU General Public License
10// as published by the Free Software Foundation; either version 2
11// of the License, or (at your option) any later version.
12//
13// This program is distributed in the hope that it will be useful,
14// but WITHOUT ANY WARRANTY; without even the implied warranty of
15// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16// GNU General Public License for more details.
17//
18// You should have received a copy of the GNU General Public License
19// along with this program; if not, write to the Free Software
20// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
21// 02111-1307, USA.
22
23#import "DeVercruesseProcess.h"
24#import <Cocoa/Cocoa.h>
25#import <Carbon/Carbon.h>
26
27
28#define ProcessMgr [DeVercruesseProcessManager defaultManager]
29
30
31@interface DeVercruesseProcessManager : NSObject
32{
33 NSMutableSet *processes;
34 NSDictionary *rules;
35}
36
37+ (id)defaultManager;
38
39- (DeVercruesseProcess*)currentProcess;
40- (DeVercruesseProcess*)frontProcess;
41- (DeVercruesseProcess*)nextToFrontProcess;
42- (DeVercruesseProcess*)anyNoBGOnlyProcess;
43
44- (NSArray*)processes;
45- (void)update;
46
47- (void)showAll;
48- (void)hideOthers;
49- (void)hideOthers:(BOOL)ignoreRules;
50- (void)hideFront;
51
52- (void)setFront:(DeVercruesseProcess*)process;
53
54- (void)setRules:(NSArray*)r;
55- (BOOL)anyRulesForProcess:(DeVercruesseProcess*)process;
56- (BOOL)checkRule:(NSString*)ruleKey withProcess:(DeVercruesseProcess*)process;
57- (NSSet*)processIdentifiersForRule:(NSString*)ruleKey;
58- (int)optionsForRule:(NSString*)ruleKey withProcess:(DeVercruesseProcess*)process;
59
60@end
Note: See TracBrowser for help on using the repository browser.