]> git.saurik.com Git - wxWidgets.git/blame - src/mac/helpxxxx.cpp
Always use XPMs in this sample
[wxWidgets.git] / src / mac / helpxxxx.cpp
CommitLineData
e9576ca5
SC
1/////////////////////////////////////////////////////////////////////////////
2// Name: helpxxxx.cpp
3// Purpose: Help system: native implementation
a31a5f85 4// Author: Stefan Csomor
e9576ca5 5// Modified by:
a31a5f85 6// Created: 1998-01-01
e9576ca5 7// RCS-ID: $Id$
a31a5f85 8// Copyright: (c) Stefan Csomor
e40298d5 9// Licence: wxWindows licence
e9576ca5
SC
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
2f1ae414 20#if !USE_SHARED_LIBRARY
e9576ca5 21IMPLEMENT_DYNAMIC_CLASS(wxXXXXHelpController, wxHelpControllerBase)
2f1ae414 22#endif
e9576ca5
SC
23
24wxXXXXHelpController::wxXXXXHelpController()
25{
26 m_helpFile = "";
27}
28
29wxXXXXHelpController::~wxXXXXHelpController()
30{
31}
32
33bool wxXXXXHelpController::Initialize(const wxString& filename)
34{
35 m_helpFile = filename;
36 // TODO any other inits
37 return TRUE;
38}
39
40bool wxXXXXHelpController::LoadFile(const wxString& file)
41{
42 m_helpFile = file;
43 // TODO
44 return TRUE;
45}
46
47bool wxXXXXHelpController::DisplayContents()
48{
49 // TODO
e40298d5 50 return FALSE;
e9576ca5
SC
51}
52
53bool wxXXXXHelpController::DisplaySection(int section)
54{
55 // TODO
56 return FALSE;
57}
58
59bool wxXXXXHelpController::DisplayBlock(long block)
60{
61 // TODO
62 return FALSE;
63}
64
69b5cec2
VS
65bool wxXXXXHelpController::KeywordSearch(const wxString& k,
66 wxHelpSearchMode WXUNUSED(mode))
e9576ca5
SC
67{
68 if (m_helpFile == "") return FALSE;
69
70 // TODO
71 return FALSE;
72}
73
74// Can't close the help window explicitly in WinHelp
75bool wxXXXXHelpController::Quit()
76{
77 // TODO
78 return FALSE;
79}
80
81void wxXXXXHelpController::OnQuit()
82{
83}
84