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