]> Dogcows Code - chaz/thecheat/blob - LocalCheater.h
The Cheat 1.2
[chaz/thecheat] / LocalCheater.h
1
2 // **********************************************************************
3 // The Cheat - A universal game cheater for Mac OS X
4 // (C) 2003-2005 Chaz McGarvey (BrokenZipper)
5 //
6 // This program is free software; you can redistribute it and/or modify
7 // it under the terms of the GNU General Public License as published by
8 // the Free Software Foundation; either version 1, or (at your option)
9 // any later version.
10 //
11 // This program is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 // GNU General Public License for more details.
15 //
16 // You should have received a copy of the GNU General Public License
17 // along with this program; if not, write to the Free Software
18 // Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
19 //
20
21 #import <Cocoa/Cocoa.h>
22
23 #import "Cheater.h"
24
25 #import "VMRegion.h"
26 #import "ThreadedTask.h"
27
28 #import "SearchContext.h"
29 #import "DumpContext.h"
30
31
32 @interface LocalCheater : Cheater
33 {
34 NSMutableArray *_processes;
35 Process *_target;
36
37 BOOL _isTargetPaused;
38
39 ThreadedTask *_searchTask;
40 ThreadedTask *_dumpTask;
41
42 NSMutableArray *_searchResults;
43 NSMutableArray *_savedResults;
44 unsigned _returnLimit;
45
46 NSTimer *_cheatTimer;
47 NSArray *_cheatVariables;
48
49 NSTimer *_watchTimer;
50 NSArray *_watchVariables;
51 NSRange _watchRange;
52
53 BOOL _shouldCopy;
54 }
55
56
57 // copying vs references
58 // ultimately, the client will need a separate copy
59 // of whatever is passed back to it, but we can use
60 // references instead of the delegate will make its
61 // own copies (or not use anything directly).
62 - (BOOL)shouldCopy;
63 - (void)setShouldCopy:(BOOL)flag;
64
65
66 @end
67
68
This page took 0.032387 seconds and 5 git commands to generate.