1 // Author: Andrew E. Ruder 2 // Copyright (C) 2003 by Free Software Foundation, Inc 3 4 @class GormSetNameController; 5 6 #ifndef GORM_SET_NAME_CONTROLLER_H 7 #define GORM_SET_NAME_CONTROLLER_H 8 9 #include <Foundation/NSObject.h> 10 11 @class NSButton, NSPanel, NSTextField; 12 13 @interface GormSetNameController : NSObject 14 { 15 NSPanel *window; 16 NSTextField *textField; 17 NSButton *okButton; 18 NSButton *cancelButton; 19 } 20 - (NSInteger)runAsModal; 21 22 - (NSTextField *) textField; 23 - (void) cancelHit: (id)sender; 24 - (void) okHit: (id)sender; 25 @end 26 27 #endif 28