2001-10-19 19:41:13 +00:00
|
|
|
#import <Cocoa/Cocoa.h>
|
|
|
|
|
2002-05-31 00:17:53 +00:00
|
|
|
/*! @header ApplicationDelegate.h
|
|
|
|
* @discussion This class is the delegate object for NSApp.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*! @class ApplicationDelegate
|
|
|
|
* @discussion This class is the delegate object for NSApp.
|
|
|
|
*/
|
|
|
|
|
2001-10-19 19:41:13 +00:00
|
|
|
@interface ApplicationDelegate : NSObject
|
|
|
|
{
|
2002-05-31 00:17:53 +00:00
|
|
|
/*! @var icons A dictionary within which to cache icons. Keys are four-character <tt>NSStrings</tt> representing <tt>ResTypes</tt>. */
|
2002-04-27 18:17:47 +00:00
|
|
|
NSMutableDictionary *icons;
|
2001-10-19 19:41:13 +00:00
|
|
|
}
|
|
|
|
|
2002-05-31 00:17:53 +00:00
|
|
|
/*! @function showAbout:
|
|
|
|
* @discussion Displays the about box located in <b>AboutPanel.nib</b>.
|
|
|
|
*/
|
2002-02-02 11:31:28 +00:00
|
|
|
- (IBAction)showAbout:(id)sender;
|
2002-05-31 00:17:53 +00:00
|
|
|
|
|
|
|
/*! @function visitWebsite:
|
|
|
|
* @discussion Takes the user to <i>http://web.nickshanks.com/resknife/</i>.
|
|
|
|
*/
|
2002-02-23 03:40:24 +00:00
|
|
|
- (IBAction)visitWebsite:(id)sender;
|
2002-05-31 00:17:53 +00:00
|
|
|
|
|
|
|
/*! @function visitSourceforge:
|
|
|
|
* @discussion Takes the user to <i>http://resknife.sourceforge.net/</i>.
|
|
|
|
*/
|
2002-02-23 03:40:24 +00:00
|
|
|
- (IBAction)visitSourceforge:(id)sender;
|
2002-05-31 00:17:53 +00:00
|
|
|
|
|
|
|
/*! @function emailDeveloper:
|
|
|
|
* @discussion Launches email client and inserts <i>resknife@nickshanks.com</i> into To field.
|
|
|
|
*/
|
2002-02-23 03:40:24 +00:00
|
|
|
- (IBAction)emailDeveloper:(id)sender;
|
2002-05-31 00:17:53 +00:00
|
|
|
|
|
|
|
/*! @function showInfo:
|
|
|
|
* @discussion Displays the Info panel stored in <b>InfoWindow.nib</b>
|
|
|
|
*/
|
2001-10-19 19:41:13 +00:00
|
|
|
- (IBAction)showInfo:(id)sender;
|
2002-05-31 00:17:53 +00:00
|
|
|
|
|
|
|
/*! @function showPrefs:
|
|
|
|
* @discussion Displays the preferences panel stored in <b>PrefsWindow.nib</b>
|
|
|
|
*/
|
2001-10-19 19:41:13 +00:00
|
|
|
- (IBAction)showPrefs:(id)sender;
|
2002-05-31 00:17:53 +00:00
|
|
|
|
|
|
|
/*! @function initUserDefaults
|
|
|
|
* @discussion Initalises any unset user preferences to default values as read in from <b>defaults.plist</b>.
|
|
|
|
*/
|
2001-10-19 19:41:13 +00:00
|
|
|
- (void)initUserDefaults;
|
|
|
|
|
2002-05-31 00:17:53 +00:00
|
|
|
/*! @function icons
|
|
|
|
* @discussion Accessor method for the <tt>icons</tt> instance variable.
|
|
|
|
*/
|
2002-04-27 18:17:47 +00:00
|
|
|
- (NSDictionary *)icons;
|
|
|
|
|
2001-10-19 19:41:13 +00:00
|
|
|
@end
|
2002-05-31 00:17:53 +00:00
|
|
|
|
2002-02-23 03:40:24 +00:00
|
|
|
@interface NSSavePanel (PackageBrowser)
|
|
|
|
|
|
|
|
@end
|