]> git.saurik.com Git - wxWidgets.git/blob - src/mac/carbon/helpxxxx.cpp
adding metafile and clipboard support
[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 #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
13 #pragma implementation "helpxxxx.h"
14 #endif
15
16 #include "wx/wxprec.h"
17
18 #include "wx/stubs/helpxxxx.h"
19
20 #include <string.h>
21
22 #if !USE_SHARED_LIBRARY
23 IMPLEMENT_DYNAMIC_CLASS(wxXXXXHelpController, wxHelpControllerBase)
24 #endif
25
26 wxXXXXHelpController::wxXXXXHelpController()
27 {
28 m_helpFile = "";
29 }
30
31 wxXXXXHelpController::~wxXXXXHelpController()
32 {
33 }
34
35 bool wxXXXXHelpController::Initialize(const wxString& filename)
36 {
37 m_helpFile = filename;
38 // TODO any other inits
39 return TRUE;
40 }
41
42 bool wxXXXXHelpController::LoadFile(const wxString& file)
43 {
44 m_helpFile = file;
45 // TODO
46 return TRUE;
47 }
48
49 bool wxXXXXHelpController::DisplayContents()
50 {
51 // TODO
52 return FALSE;
53 }
54
55 bool wxXXXXHelpController::DisplaySection(int section)
56 {
57 // TODO
58 return FALSE;
59 }
60
61 bool wxXXXXHelpController::DisplayBlock(long block)
62 {
63 // TODO
64 return FALSE;
65 }
66
67 bool wxXXXXHelpController::KeywordSearch(const wxString& k,
68 wxHelpSearchMode WXUNUSED(mode))
69 {
70 if (m_helpFile == "") return FALSE;
71
72 // TODO
73 return FALSE;
74 }
75
76 // Can't close the help window explicitly in WinHelp
77 bool wxXXXXHelpController::Quit()
78 {
79 // TODO
80 return FALSE;
81 }
82
83 void wxXXXXHelpController::OnQuit()
84 {
85 }
86