]> Dogcows Code - chaz/thecheat/blob - LocalCheater.h
update contact information and project URL
[chaz/thecheat] / LocalCheater.h
1
2 /*
3 * The Cheat - The legendary universal game trainer for Mac OS X.
4 * http://www.brokenzipper.com/trac/wiki/TheCheat
5 *
6 * Copyright (c) 2003-2011, Charles McGarvey et al.
7 *
8 * Distributable under the terms and conditions of the 2-clause BSD
9 * license; see the file COPYING for the legal text of the license.
10 */
11
12 #import <Cocoa/Cocoa.h>
13
14 #import "Cheater.h"
15
16 #import "VMRegion.h"
17 #import "ThreadedTask.h"
18
19 #import "SearchContext.h"
20 #import "DumpContext.h"
21
22
23 @interface LocalCheater : Cheater
24 {
25 NSMutableArray *_processes;
26 Process *_target;
27
28 BOOL _isTargetPaused;
29
30 ThreadedTask *_searchTask;
31 ThreadedTask *_dumpTask;
32
33 NSMutableArray *_searchResults;
34 NSMutableArray *_savedResults;
35 unsigned _returnLimit;
36
37 NSTimer *_cheatTimer;
38 NSArray *_cheatVariables;
39
40 NSTimer *_watchTimer;
41 NSArray *_watchVariables;
42 NSRange _watchRange;
43
44 BOOL _shouldCopy;
45 }
46
47
48 // copying vs references
49 // ultimately, the client will need a separate copy
50 // of whatever is passed back to it, but we can use
51 // references instead of the delegate will make its
52 // own copies (or not use anything directly).
53 - (BOOL)shouldCopy;
54 - (void)setShouldCopy:(BOOL)flag;
55
56
57 @end
58
59
This page took 0.036613 seconds and 4 git commands to generate.