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