Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 58 lines (48 sloc) 2.089 kb
dc5be1c Initial check-in.
uli authored
1 //
2 // UKDocumentationController.h
3 // Shovel
4 //
5 // Created by Uli Kusterer on 04.10.04.
720b0e7 @uliwitness Added licensing information to the source files.
authored
6 // Copyright 2004 Uli Kusterer.
7 //
8 // This software is provided 'as-is', without any express or implied
9 // warranty. In no event will the authors be held liable for any damages
10 // arising from the use of this software.
11 //
12 // Permission is granted to anyone to use this software for any purpose,
13 // including commercial applications, and to alter it and redistribute it
14 // freely, subject to the following restrictions:
15 //
16 // 1. The origin of this software must not be misrepresented; you must not
17 // claim that you wrote the original software. If you use this software
18 // in a product, an acknowledgment in the product documentation would be
19 // appreciated but is not required.
20 //
21 // 2. Altered source versions must be plainly marked as such, and must not be
22 // misrepresented as being the original software.
23 //
24 // 3. This notice may not be removed or altered from any source
25 // distribution.
dc5be1c Initial check-in.
uli authored
26 //
27
28 #import <Cocoa/Cocoa.h>
29
30
31 /*
32 This is a little controller object that you can instantiate in your
33 MainMenu.nib to add a few menu items to your application's "Help" menu.
34
35 It will bring up the anchors of the specified name (e.g. #readme) in your
36 application's help book. This way, you are very flexible in regard to where
37 you put this info in your help book. As long as the specified anchor tags
38 (e.g. <a name="readme"></a> is present in your help book somewhere and you
39 have run the Apple Help Indexing Tool on your help book's HTML files, this
40 object will show the right page and the right location, even if your help
41 consists only of one large file and not several pages.
42 */
43
44
45 @interface UKDocumentationController : NSObject
46 {
47 }
48
49 // IBActions for our additional help menu items:
50 -(void) showReadme: (id)sender; // #readme
51 -(void) showReleaseNotes: (id)sender; // #release_notes
52 -(void) showFAQ: (id)sender; // #faq
53
54 // Private, used by the other three:
55 -(void) showHelpBookAnchor: (NSString*)str;
56
57 @end
Something went wrong with that request. Please try again.