Hooked up the setup query window
[MenuTunes.git] / StatusWindowController.m
index e8b1eef..10d6eee 100755 (executable)
@@ -1,6 +1,7 @@
 #import "StatusWindowController.h"
 #import "StatusWindow.h"
 #import "PreferencesController.h"
 #import "StatusWindowController.h"
 #import "StatusWindow.h"
 #import "PreferencesController.h"
+#import "MainController.h"
 
 #import <ITKit/ITWindowEffect.h>
 #import <ITKit/ITCutWindowEffect.h>
 
 #import <ITKit/ITWindowEffect.h>
 #import <ITKit/ITCutWindowEffect.h>
@@ -225,4 +226,21 @@ static StatusWindowController *sharedController;
 }
 
 
 }
 
 
+- (void)showRegistrationQueryWindow
+{
+    NSString *message = @"xxjghsdkfj\nHAHA";
+
+    [_window setImage:[NSImage imageNamed:@"Register"]];
+    [_window buildDialogWindowWithMessage:message
+                            defaultButton:@"Register Now"
+                          alternateButton:@"Quit MenuPrefs"
+                                   target:[MainController sharedController]
+                            defaultAction:@selector(registerNowOK)
+                          alternateAction:@selector(registerNowCancel)];
+
+    [_window appear:self];
+    [_window setLocked:YES];
+}
+
+
 @end
\ No newline at end of file
 @end
\ No newline at end of file