Main Page | Alphabetical List | Class List | Directories | File List | Class Members | Related Pages

DownAndOutController.h

00001 //
00002 //  DownAndOutController.h
00003 //  DownAndOutª
00004 //
00005 //  Created by Fritz Anderson on Mon Aug 18 2003.
00006 //  Copyright (c) 2003 Trustees of the University of Chicago. All rights reserved.
00007 //  This program is free software; you can redistribute it and/or modify
00008 //  it under the terms of the GNU General Public License as published by
00009 //  the Free Software Foundation; either version 2 of the License, or
00010 //  (at your option) any later version.
00011 //  
00012 //  This program is distributed in the hope that it will be useful,
00013 //  but WITHOUT ANY WARRANTY; without even the implied warranty of
00014 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015 //  GNU General Public License for more details.
00016 //  
00017 //  You should have received a copy of the GNU General Public License
00018 //  along with this program; if not, write to the Free Software
00019 //  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
00020 //
00021 
00045 #import <Cocoa/Cocoa.h>
00046 
00047 #define MODULE_NAME @"DownAndOut"
00048 
00049 @class  DownAndOutView;
00050 
00060 @interface DownAndOutController : NSObject
00061 {
00064     IBOutlet NSButton *     cancelButton;   
00065     IBOutlet NSButton *     okButton;       
00066     IBOutlet NSButton *     revertButton;   
00067     
00068     IBOutlet NSPanel *      panel;          
00069     IBOutlet NSTextField *  timeField;      
00070     IBOutlet NSStepper *    timeStepper;    
00071     IBOutlet NSMatrix *     movementMatrix; 
00072     
00073     IBOutlet NSImageView *  imageWell;      
00074     IBOutlet NSButton *     imageSet;       
00075     IBOutlet NSButton *     imageClear;     
00076     
00077     IBOutlet NSTextView *   messageField;   
00078     
00079     IBOutlet NSSlider *     sizeSlider;     
00080 
00081     
00082     DownAndOutView *        view;           
00083     
00088     int                     secondsBeforeLogout;    
00089     BOOL                    shouldMove;     
00090     NSImage *               addedImage;     
00091     NSString *              messageText;    
00092 
00093 }
00094 
00100 - (id) initAsPreview: (BOOL) inIsPreview forView: (DownAndOutView *) view;
00101 
00105 
00109 - (IBAction) endButton: (id) sender;
00110 
00114 - (IBAction) stepper: (id) sender;
00115 
00119 - (IBAction) timeText: (id) sender;
00120 
00124 - (IBAction) moveSelected: (id) sender;
00125 
00135 - (IBAction) imageAction: (id) sender;
00140 - (IBAction) restoreDefaults: (id) sender;
00144 - (IBAction) sliderAction: (id) sender;
00146 
00150 - (int) secondsBeforeLogout;
00151 
00155 - (void) setSecondsBeforeLogout: (int) seconds;
00156 
00160 - (BOOL) shouldMove;
00161 
00165 - (NSImage *) addedImage;
00166 
00170 - (void) setAddedImage: (NSImage *) anImage;
00171 
00176 - (NSString *) messageText;
00177 
00188 - (NSString *) messageTextForSeconds: (int) seconds;
00193 - (void) setMessageText: (NSString *) newText;
00194 
00198 - (NSPanel *) panel;
00199 
00203 - (void) quitApplications;
00207 - (void) killApplications;
00211 - (NSString *) nameOfThisApplication;
00220 - (void) makeTouchFile;
00225 - (void) logOut;
00226 
00227 @end

Generated on Wed Jan 25 12:04:27 2006 for DownAndOut by  doxygen 1.4.4