#import <Cocoa/Cocoa.h>
#import <InstallerPlugins/InstallerPlugins.h>
@interface HowToMakeAnAppleEngineerScream : InstallerPane
{
}
@end
#import "HowToMakeAnAppleEngineerScream.h"
@interface PageController : NSObject
{
}
- (id) distribution;
@end
@interface IFDocument : NSObject
{
}
- (id) path;
@end
@implementation HowToMakeAnAppleEngineerScream
- (NSString *) title
{
return [[NSBundle bundleForClass:[self class]] localizedStringForKey:@"PaneTitle" value:nil table:nil];
}
- (void) didEnterPane:(InstallerSectionDirection) inDirection
{
NSWindow * tWindow;
PageController * tPageController;
tWindow=[NSApp keyWindow]; // This should be improved IMHO
tPageController=(PageController *) [tWindow delegate];
if (tPageController!=nil)
{
NSLog(@"This is the package path: %@",[[tPageController distribution] path]);
}
}
@end