File tree 5 files changed +3113
-0
lines changed
TestFiles/Debugging Harness
5 files changed +3113
-0
lines changed Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version =" 1.0" >
4
+ <dict >
5
+ <key >CFBundleDevelopmentRegion </key >
6
+ <string >English </string >
7
+ <key >CFBundleExecutable </key >
8
+ <string >${EXECUTABLE_NAME} </string >
9
+ <key >CFBundleIdentifier </key >
10
+ <string >com.github.rentzsch.clicktoflash </string >
11
+ <key >CFBundleInfoDictionaryVersion </key >
12
+ <string >6.0 </string >
13
+ <key >CFBundlePackageType </key >
14
+ <string >APPL </string >
15
+ <key >CFBundleSignature </key >
16
+ <string >???? </string >
17
+ <key >CFBundleVersion </key >
18
+ <string >1.0 </string >
19
+ <key >NSMainNibFile </key >
20
+ <string >HarnessMain </string >
21
+ <key >NSPrincipalClass </key >
22
+ <string >NSApplication </string >
23
+ </dict >
24
+ </plist >
Original file line number Diff line number Diff line change
1
+ //
2
+ // HarnessAppDelegate.h
3
+ // ClickToFlash
4
+ //
5
+ // Created by Ben Gottlieb on 2/9/09.
6
+ // Copyright 2009 Stand Alone, Inc.. All rights reserved.
7
+ //
8
+
9
+ #import < Cocoa/Cocoa.h>
10
+ #import " CTFWhitelistWindowController.h"
11
+
12
+
13
+ @interface HarnessAppDelegate : NSObject {
14
+ CTFWhitelistWindowController *_whitelistWindow;
15
+ }
16
+
17
+
18
+ - (IBAction ) showWhitelistWindow : (id ) sender ;
19
+ @end
Original file line number Diff line number Diff line change
1
+ //
2
+ // HarnessAppDelegate.m
3
+ // ClickToFlash
4
+ //
5
+ // Created by Ben Gottlieb on 2/9/09.
6
+ // Copyright 2009 Stand Alone, Inc.. All rights reserved.
7
+ //
8
+
9
+ #import " HarnessAppDelegate.h"
10
+
11
+ @implementation HarnessAppDelegate
12
+
13
+ - (void ) awakeFromNib {
14
+ [self showWhitelistWindow: nil ];
15
+ }
16
+
17
+ - (IBAction ) showWhitelistWindow : (id ) sender {
18
+ if (_whitelistWindow == nil ) _whitelistWindow = [[CTFWhitelistWindowController alloc ] init ];
19
+
20
+ [[_whitelistWindow window ] makeKeyAndOrderFront: nil ];
21
+ }
22
+
23
+
24
+ @end
Original file line number Diff line number Diff line change
1
+ //
2
+ // main.m
3
+ // Testing
4
+ //
5
+ // Created by Ben Gottlieb on 2/9/09.
6
+ // Copyright Stand Alone, Inc. 2009. All rights reserved.
7
+ //
8
+
9
+ #import < Cocoa/Cocoa.h>
10
+
11
+ int main (int argc, char *argv[])
12
+ {
13
+ return NSApplicationMain (argc, (const char **) argv);
14
+ }
You can’t perform that action at this time.
0 commit comments