]> Dogcows Code - chaz/thecheat/blob - AppController.h
The Cheat 1.0b1
[chaz/thecheat] / AppController.h
1
2 // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3 // Project: The Cheat
4 //
5 // File: AppController.h
6 // Created: Wed Aug 13 2003
7 //
8 // Copyright: 2003 Chaz McGarvey. All rights reserved.
9 // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
10
11 #import <Cocoa/Cocoa.h>
12
13
14 // constants
15 enum
16 {
17 TYPE_STRING, TYPE_INTEGER, TYPE_FLOAT
18 };
19
20 enum
21 {
22 SIZE_8_BIT, SIZE_16_BIT, SIZE_32_BIT, SIZE_64_BIT
23 };
24
25
26 @interface AppController : NSObject
27 {
28 BOOL cheating;
29
30 NSArray *processList;
31
32 NSMutableArray *addressList;
33 BOOL searching;
34
35 IBOutlet id window;
36 IBOutlet id processPopup;
37 IBOutlet id searchTextField;
38 IBOutlet id changeTextField;
39 IBOutlet id searchButton;
40 IBOutlet id changeButton;
41 IBOutlet id typePopup;
42 IBOutlet id sizePopup;
43 IBOutlet id statusText;
44 IBOutlet id statusBar;
45 IBOutlet id addressTable;
46 }
47
48 - (void)reset;
49
50 - (void)firstSearch:(id)nothing;
51 - (void)search:(id)nothing;
52
53 - (void)change;
54
55 - (void)updateProcessPopup;
56 - (void)updateTypePopup;
57 - (void)updateSizePopup;
58 - (void)updateSearchButton;
59 - (void)updateChangeButton;
60 - (void)updateStatusText;
61
62 - (void)rebuildProcessList;
63
64 - (IBAction)processPopup:(id)sender;
65 - (IBAction)typePopup:(id)sender;
66 - (IBAction)searchButton:(id)sender;
67 - (IBAction)changeButton:(id)sender;
68
69 @end
This page took 0.031096 seconds and 4 git commands to generate.