]> Dogcows Code - chaz/thecheat/blobdiff - AppController.h
update contact information and project URL
[chaz/thecheat] / AppController.h
index 791788728a5ccd27b354fdab5927f0175d76a4a2..5c5d2ca490d835e1f0a4f0e82cb4da7d6028bab2 100644 (file)
@@ -1,69 +1,55 @@
 
-// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-// Project:   The Cheat
-//
-// File:      AppController.h
-// Created:   Wed Aug 13 2003
-//
-// Copyright: 2003 Chaz McGarvey.  All rights reserved.
-// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+/*
+ * The Cheat - The legendary universal game trainer for Mac OS X.
+ * http://www.brokenzipper.com/trac/wiki/TheCheat
+ *
+ * Copyright (c) 2003-2011, Charles McGarvey et al.
+ *
+ * Distributable under the terms and conditions of the 2-clause BSD
+ * license; see the file COPYING for the legal text of the license.
+ */
 
 #import <Cocoa/Cocoa.h>
+#import "ChazLog.h"
+#include "cheat_global.h"
 
+#import "ChazUpdate.h"
 
-// constants
-enum
-{
-       TYPE_STRING, TYPE_INTEGER, TYPE_FLOAT
-};
+#import "CheatServer.h"
 
-enum
-{
-       SIZE_8_BIT, SIZE_16_BIT, SIZE_32_BIT, SIZE_64_BIT
-};
+
+@class AboutBoxController;
+@class HelpController;
+@class PreferenceController;
 
 
-@interface AppController : NSObject
+@interface AppController : NSApplication
 {
-       BOOL                    cheating;
-       
-       NSArray                 *processList;
-       
-       NSMutableArray  *addressList;
-       BOOL                    searching;
-       
-       IBOutlet id             window;
-       IBOutlet id             processPopup;
-       IBOutlet id             searchTextField;
-       IBOutlet id             changeTextField;
-       IBOutlet id             searchButton;
-       IBOutlet id             changeButton;
-       IBOutlet id             typePopup;
-       IBOutlet id             sizePopup;
-       IBOutlet id             statusText;
-       IBOutlet id             statusBar;
-       IBOutlet id             addressTable;
+       CheatServer *_server;
+
+       AboutBoxController *_aboutBoxController;
+       HelpController *_helpController;
+       PreferenceController *_preferenceController;
 }
 
-- (void)reset;
+// Interface Actions
+- (IBAction)newSearchWindow:(id)sender;
+- (IBAction)newBlankCheatWindow:(id)sender;
+
+- (IBAction)showAboutBoxWindow:(id)sender;
+- (IBAction)showPreferenceWindow:(id)sender;
 
-- (void)firstSearch:(id)nothing;
-- (void)search:(id)nothing;
+- (IBAction)launchHelpFile:(id)sender;
+- (IBAction)launchEmailMenu:(id)sender;
+- (IBAction)launchWebsiteMenu:(id)sender;
 
-- (void)change;
+- (IBAction)checkForUpdate:(id)sender;
 
-- (void)updateProcessPopup;
-- (void)updateTypePopup;
-- (void)updateSizePopup;
-- (void)updateSearchButton;
-- (void)updateChangeButton;
-- (void)updateStatusText;
+// Server Stuff
+- (CheatServer *)cheatServer;
+- (BOOL)startCheatServer;
+- (void)stopCheatServer;
 
-- (void)rebuildProcessList;
+@end
 
-- (IBAction)processPopup:(id)sender;
-- (IBAction)typePopup:(id)sender;
-- (IBAction)searchButton:(id)sender;
-- (IBAction)changeButton:(id)sender;
 
-@end
\ No newline at end of file
This page took 0.017892 seconds and 4 git commands to generate.