2013-04-11 01:07:29 -07:00
|
|
|
#include <Foundation/Foundation.h>
|
|
|
|
|
#include <AppKit/AppKit.h>
|
|
|
|
|
|
|
|
|
|
@interface ClickMe : NSWindow
|
|
|
|
|
{
|
2014-04-02 16:56:35 +00:00
|
|
|
NSButton *_button;
|
|
|
|
|
NSTextField *_text;
|
|
|
|
|
int _counter;
|
2013-04-11 01:07:29 -07:00
|
|
|
}
|
|
|
|
|
- (void)applicationDidFinishLaunching: (NSNotification *)notification;
|
|
|
|
|
- (BOOL)applicationShouldTerminateAfterLastWindowClosed: (NSNotification *)notification;
|
|
|
|
|
- (void)advanceCounter: (id)sender;
|
|
|
|
|
@end
|