Skip to content
Newer
Older
100644 56 lines (43 sloc) 2.51 KB
056cb11 initial commit
Philip Dow authored
1 /* PDAboutBoxController */
2
6616b42 @phildow Added BSD style license notification project wide
authored
3 /*
4 Redistribution and use in source and binary forms, with or without modification, are permitted
5 provided that the following conditions are met:
6
7 * Redistributions of source code must retain the above copyright notice, this list of conditions
8 and the following disclaimer.
9
10 * Redistributions in binary form must reproduce the above copyright notice, this list of conditions
11 and the following disclaimer in the documentation and/or other materials provided with the
12 distribution.
13
14 * Neither the name of the author nor the names of its contributors may be used to endorse or
15 promote products derived from this software without specific prior written permission.
16
17 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED
18 WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
19 PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
20 ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
21 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
22 INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
23 TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
24 ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25 */
26
27 // Basically, you can use the code in your free, commercial, private and public projects
28 // as long as you include the above notice and attribute the code to Philip Dow / Sprouted
29 // If you use this code in an app send me a note. I'd love to know how the code is used.
30
31 // Please also note that this copyright does not supersede any other copyrights applicable to
32 // open source code used herein. While explicit credit has been given in the Journler about box,
33 // it may be lacking in some instances in the source code. I will remedy this in future commits,
34 // and if you notice any please point them out.
35
056cb11 initial commit
Philip Dow authored
36 #import <Cocoa/Cocoa.h>
37
38 @class PDScrollingText;
39
40 @interface PDAboutBoxController : NSWindowController
41 {
42 IBOutlet NSTextView *additionalText;
43 IBOutlet NSTextField *appnameField;
44 //IBOutlet NSTextField *copyrightField;
45 IBOutlet NSImageView *imageView;
46 IBOutlet NSTextField *versionField;
47 IBOutlet PDScrollingText *mainText;
48 IBOutlet NSTextView *aboutText;
49 }
50
51 + (id)sharedController;
52
53 - (IBAction) showAboutBox:(id)sender;
54 - (IBAction) doSomething:(id)sender;
55 @end
Something went wrong with that request. Please try again.