Remove unused helpxxxx.{h,cpp} stub files from wxOSX

These files seem to be left overs from a long, long time ago.
This commit is contained in:
Vadim Zeitlin
2015-10-25 18:29:47 +01:00
parent 3f33ecc773
commit 98bd4f1936
5 changed files with 0 additions and 132 deletions

View File

@@ -3330,7 +3330,6 @@ COND_TOOLKIT_OSX_CARBON_GUI_HDR = \
wx/osx/fontdlg.h \
wx/osx/frame.h \
wx/osx/gauge.h \
wx/osx/helpxxxx.h \
wx/osx/icon.h \
wx/osx/imaglist.h \
wx/osx/listbox.h \
@@ -3432,7 +3431,6 @@ COND_TOOLKIT_OSX_COCOA_GUI_HDR = \
wx/osx/fontdlg.h \
wx/osx/frame.h \
wx/osx/gauge.h \
wx/osx/helpxxxx.h \
wx/osx/icon.h \
wx/osx/imaglist.h \
wx/osx/listbox.h \
@@ -3539,7 +3537,6 @@ COND_TOOLKIT_OSX_IPHONE_GUI_HDR = \
wx/osx/fontdlg.h \
wx/osx/frame.h \
wx/osx/gauge.h \
wx/osx/helpxxxx.h \
wx/osx/icon.h \
wx/osx/imaglist.h \
wx/osx/listbox.h \

View File

@@ -2354,7 +2354,6 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
wx/osx/fontdlg.h
wx/osx/frame.h
wx/osx/gauge.h
wx/osx/helpxxxx.h
wx/osx/icon.h
wx/osx/imaglist.h
wx/osx/listbox.h

View File

@@ -1998,7 +1998,6 @@ OSX_SHARED_HDR =
wx/osx/fontdlg.h
wx/osx/frame.h
wx/osx/gauge.h
wx/osx/helpxxxx.h
wx/osx/icon.h
wx/osx/imaglist.h
wx/osx/listbox.h

View File

@@ -1,48 +0,0 @@
/////////////////////////////////////////////////////////////////////////////
// Name: wx/osx/helpxxxx.h
// Purpose: Help system: native implementation for your system. Replace
// XXXX with suitable name.
// Author: Stefan Csomor
// Modified by:
// Created: 1998-01-01
// Copyright: (c) Stefan Csomor
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _WX_HELPXXXX_H_
#define _WX_HELPXXXX_H_
#include "wx/wx.h"
#include "wx/helpbase.h"
class WXDLLIMPEXP_CORE wxXXXXHelpController: public wxHelpControllerBase
{
wxDECLARE_CLASS(wxXXXXHelpController);
public:
wxXXXXHelpController();
virtual ~wxXXXXHelpController();
// Must call this to set the filename and server name
virtual bool Initialize(const wxString& file);
// If file is "", reloads file given in Initialize
virtual bool LoadFile(const wxString& file = "");
virtual bool DisplayContents();
virtual bool DisplaySection(int sectionNo);
virtual bool DisplayBlock(long blockNo);
virtual bool KeywordSearch(const wxString& k,
wxHelpSearchMode mode = wxHELP_SEARCH_ALL);
virtual bool Quit();
virtual void OnQuit();
inline wxString GetHelpFile() const { return m_helpFile; }
protected:
wxString m_helpFile;
};
#endif
// _WX_HELPXXXX_H_

View File

@@ -1,79 +0,0 @@
/////////////////////////////////////////////////////////////////////////////
// Name: src/osx/carbon/helpxxxx.cpp
// Purpose: Help system: native implementation
// Author: Stefan Csomor
// Modified by:
// Created: 1998-01-01
// Copyright: (c) Stefan Csomor
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#include "wx/wxprec.h"
#include "wx/stubs/helpxxxx.h"
#include <string.h>
wxIMPLEMENT_DYNAMIC_CLASS(wxXXXXHelpController, wxHelpControllerBase);
wxXXXXHelpController::wxXXXXHelpController()
{
m_helpFile = "";
}
wxXXXXHelpController::~wxXXXXHelpController()
{
}
bool wxXXXXHelpController::Initialize(const wxString& filename)
{
m_helpFile = filename;
// TODO any other inits
return TRUE;
}
bool wxXXXXHelpController::LoadFile(const wxString& file)
{
m_helpFile = file;
// TODO
return TRUE;
}
bool wxXXXXHelpController::DisplayContents()
{
// TODO
return FALSE;
}
bool wxXXXXHelpController::DisplaySection(int section)
{
// TODO
return FALSE;
}
bool wxXXXXHelpController::DisplayBlock(long block)
{
// TODO
return FALSE;
}
bool wxXXXXHelpController::KeywordSearch(const wxString& k,
wxHelpSearchMode WXUNUSED(mode))
{
if (m_helpFile == "") return FALSE;
// TODO
return FALSE;
}
// Can't close the help window explicitly in WinHelp
bool wxXXXXHelpController::Quit()
{
// TODO
return FALSE;
}
void wxXXXXHelpController::OnQuit()
{
}