diff --git a/redo/osxaltest/main.m b/redo/osxaltest/main.m new file mode 100644 index 00000000..c1d1a65c --- /dev/null +++ b/redo/osxaltest/main.m @@ -0,0 +1,29 @@ +// 31 july 2015 +#import "osxaltest.h" + +@interface appDelegate : NSObject +@end + +@implementation appDelegate + +- (void)applicationDidFinishLaunching:(NSNotification *)note +{ +} + +- (BOOL)applicationShouldTerminateAfterLastWindowClosed:(NSApplication *)a +{ + return YES; +} + +@end + +int main(int argc, char *argv[]) +{ + NSApplication *app; + + app = [NSApplication sharedApplication]; + [app setActivationPolicy:NSApplicationActivationPolicyRegular]; + [app setDelegate:[appDelegate new]]; + [app run]; + return 0; +} diff --git a/redo/osxaltest/osxaltest.h b/redo/osxaltest/osxaltest.h new file mode 100644 index 00000000..5c54309c --- /dev/null +++ b/redo/osxaltest/osxaltest.h @@ -0,0 +1,2 @@ +// 31 july 2015 +#import