#import "MTBlingController.h"
#import "MTeSerialNumber.h"
+#import "MainController.h"
#define APP_SUPPORT_PATH_STRING [@"~/Library/Application Support/MenuTunes/" stringByExpandingTildeInPath]
#define LICENSE_PATH_STRING [APP_SUPPORT_PATH_STRING stringByAppendingString:@"/.license"]
- (void)_IT {}
- (void)_YOU {}
- (void)_TIGHTWAD {}
+- (void)_HAHAHA {}
+- (void)_LOLOL {}
+- (void)_FIVERSKATES {}
- (id)init
{
if ( ! window ) {
window = [MTShizzleWindow sharedWindowForSender:self];
}
-
+ [NSApp activateIgnoringOtherApps:YES];
[window center];
- [window makeKeyAndOrderFront:nil];
+ [window orderFrontRegardless];
+ [window makeKeyWindow];
// [window setLevel:NSStatusWindowLevel];
}
- (void)registerLater:(id)sender
{
[window orderOut:self];
+ if ([[NSDate date] timeIntervalSinceDate:[[MainController sharedController] getBlingTime]] >= 604800) {
+ [NSApp terminate:nil];
+ }
}
- (void)verifyKey:(id)sender
nil, nil, nil,
NSLocalizedString(@"failed_msg", @"Failed Message"));
}
-
+ [[MainController sharedController] blingTime];
}
- (int)checkKeyFile