File:  [mozdev] / chimera / nsAlertController.h
Revision 1.2: download - view: text, annotated - select for diffs - revision graph
Mon Feb 25 03:22:59 2002 UTC (17 years, 9 months ago) by hyatt
Branches: MAIN
CVS tags: HEAD
Changes to get alerts going and form submission working again.

    1: #import <Cocoa/Cocoa.h>
    2: 
    3: @interface nsAlertController : NSObject
    4: {
    5:     IBOutlet id alertCheckPanel;
    6:     IBOutlet id alertCheckPanelCheck;
    7:     IBOutlet id alertCheckPanelText;
    8:     IBOutlet id alertPanel;
    9:     IBOutlet id alertPanelText;
   10:     IBOutlet id confirmCheckPanel;
   11:     IBOutlet id confirmCheckPanelCheck;
   12:     IBOutlet id confirmCheckPanelText;
   13:     IBOutlet id confirmCheckPanelButton1;
   14:     IBOutlet id confirmCheckPanelButton2;
   15:     IBOutlet id confirmCheckPanelButton3;
   16:     IBOutlet id confirmPanel;
   17:     IBOutlet id confirmPanelText;
   18:     IBOutlet id confirmPanelButton1;
   19:     IBOutlet id confirmPanelButton2;
   20:     IBOutlet id confirmPanelButton3;
   21:     IBOutlet id promptPanel;
   22:     IBOutlet id promptPanelCheck;
   23:     IBOutlet id promptPanelText;
   24:     IBOutlet id promptPanelInput;
   25:     IBOutlet id passwordPanel;
   26:     IBOutlet id passwordPanelCheck;
   27:     IBOutlet id passwordPanelText;
   28:     IBOutlet id passwordPanelInput;    
   29:     IBOutlet id usernamePanel;
   30:     IBOutlet id usernamePanelCheck;
   31:     IBOutlet id usernamePanelText;
   32:     IBOutlet id usernamePanelPassword;    
   33:     IBOutlet id usernamePanelUserName;    
   34:     IBOutlet id owner;
   35: }
   36: - (IBAction)hitButton1:(id)sender;
   37: - (IBAction)hitButton2:(id)sender;
   38: - (IBAction)hitButton3:(id)sender;
   39: 
   40: - (void)awakeFromNib;
   41: - (void)alert:(NSWindow*)parent title:(NSString*)title text:(NSString*)text;
   42: - (void)alertCheck:(NSWindow*)parent title:(NSString*)title text:(NSString*)text checkMsg:(NSString*)checkMsg checkValue:(BOOL*)checkValue;
   43: 
   44: - (BOOL)confirm:(NSWindow*)parent title:(NSString*)title text:(NSString*)text;
   45: - (BOOL)confirmCheck:(NSWindow*)parent title:(NSString*)title text:(NSString*)text checkMsg:(NSString*)checkMsg checkValue:(BOOL*)checkValue;
   46: 
   47: - (int)confirmEx:(NSWindow*)parent title:(NSString*)title text:(NSString*)text
   48:    button1:(NSString*)btn1 button2:(NSString*)btn2 button3:(NSString*)btn3;
   49: - (int)confirmCheckEx:(NSWindow*)parent title:(NSString*)title text:(NSString*)text 
   50:   button1:(NSString*)btn1 button2:(NSString*)btn2 button3:(NSString*)btn3
   51:   checkMsg:(NSString*)checkMsg checkValue:(BOOL*)checkValue;
   52: 
   53: - (BOOL)prompt:(NSWindow*)parent title:(NSString*)title text:(NSString*)text promptText:(NSMutableString*)promptText checkMsg:(NSString*)checkMsg checkValue:(BOOL*)checkValue doCheck:(BOOL)doCheck;
   54: - (BOOL)promptUserNameAndPassword:(NSWindow*)parent title:(NSString*)title text:(NSString*)text userNameText:(NSMutableString*)userNameText passwordText:(NSMutableString*)passwordText checkMsg:(NSString*)checkMsg checkValue:(BOOL*)checkValue doCheck:(BOOL)doCheck;
   55: - (BOOL)promptPassword:(NSWindow*)parent title:(NSString*)title text:(NSString*)text passwordText:(NSMutableString*)passwordText checkMsg:(NSString*)checkMsg checkValue:(BOOL*)checkValue doCheck:(BOOL)doCheck;
   56: @end

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>