]> git.saurik.com Git - wxWidgets.git/blob - src/mac/helpxxxx.cpp
merge with latest sources
[wxWidgets.git] / src / mac / helpxxxx.cpp
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: helpxxxx.cpp
3 // Purpose: Help system: native implementation
4 // Author: AUTHOR
5 // Modified by:
6 // Created: ??/??/98
7 // RCS-ID: $Id$
8 // Copyright: (c) AUTHOR
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
11
12 #ifdef __GNUG__
13 #pragma implementation "helpxxxx.h"
14 #endif
15
16 #include "wx/stubs/helpxxxx.h"
17
18 #include <string.h>
19
20 #if !USE_SHARED_LIBRARY
21 IMPLEMENT_DYNAMIC_CLASS(wxXXXXHelpController, wxHelpControllerBase)
22 #endif
23
24 wxXXXXHelpController::wxXXXXHelpController()
25 {
26 m_helpFile = "";
27 }
28
29 wxXXXXHelpController::~wxXXXXHelpController()
30 {
31 }
32
33 bool wxXXXXHelpController::Initialize(const wxString& filename)
34 {
35 m_helpFile = filename;
36 // TODO any other inits
37 return TRUE;
38 }
39
40 bool wxXXXXHelpController::LoadFile(const wxString& file)
41 {
42 m_helpFile = file;
43 // TODO
44 return TRUE;
45 }
46
47 bool wxXXXXHelpController::DisplayContents()
48 {
49 // TODO
50 return FALSE;
51 }
52
53 bool wxXXXXHelpController::DisplaySection(int section)
54 {
55 // TODO
56 return FALSE;
57 }
58
59 bool wxXXXXHelpController::DisplayBlock(long block)
60 {
61 // TODO
62 return FALSE;
63 }
64
65 bool wxXXXXHelpController::KeywordSearch(const wxString& k)
66 {
67 if (m_helpFile == "") return FALSE;
68
69 // TODO
70 return FALSE;
71 }
72
73 // Can't close the help window explicitly in WinHelp
74 bool wxXXXXHelpController::Quit()
75 {
76 // TODO
77 return FALSE;
78 }
79
80 void wxXXXXHelpController::OnQuit()
81 {
82 }
83