{
IBClasses = (
{CLASS = FirstResponder; LANGUAGE = ObjC; SUPERCLASS = NSObject; },
+ {CLASS = MenuTunes; LANGUAGE = ObjC; SUPERCLASS = NSObject; },
{
- ACTIONS = {dismiss = id; verifyRegistration = id; };
+ ACTIONS = {verifyRegistration = id; };
CLASS = RegController;
LANGUAGE = ObjC;
OUTLETS = {
IBOutlet NSWindow *n;
}
- (IBAction)verifyRegistration:(id)sender;
-- (IBAction)dismiss:(id)sender;
@end
#endif
\ No newline at end of file
void (*kvp)(NSString *,NSString *) = keyverify;
+- (void)registrationStart
+{
+ [NSBundle loadNibNamed:@"Registration" owner:self];
+ [f show];
+ [f center];
+}
+
- (IBAction)verifyRegistration:(id)sender
{
//note: check name, key for basic validity. SO needs some of this as well.
else {
NSRunInformationalAlertPanel(@"Failure",@"Your registration key is incorrect. Try again.",@"Aww",nil,nil);
}
+ [f close];
}
@end