mirror of
https://github.com/cookiengineer/audacity
synced 2026-02-08 04:32:00 +01:00
separate out Help system functions into their own source file (pending some extra ones) and change the required includes to accomodate this. As a result, some error class definitions have to move from .cpp file to .h file.
This commit is contained in:
42
src/widgets/HelpSystem.h
Normal file
42
src/widgets/HelpSystem.h
Normal file
@@ -0,0 +1,42 @@
|
||||
/**********************************************************************
|
||||
|
||||
Audacity: A Digital Audio Editor
|
||||
|
||||
ErrorDialog.h
|
||||
|
||||
Jimmy Johnson
|
||||
James Crook
|
||||
|
||||
**********************************************************************/
|
||||
|
||||
#ifndef __AUDACITY_HELPSYSTEM__
|
||||
#define __AUDACITY_HELPSYSTEM__
|
||||
|
||||
#include "../Audacity.h"
|
||||
#include <wx/defs.h>
|
||||
#include <wx/window.h>
|
||||
|
||||
class AudacityProject;
|
||||
|
||||
/// Displays cutable information in a text ctrl, with an OK button.
|
||||
void ShowInfoDialog( wxWindow *parent,
|
||||
const wxString &dlogTitle,
|
||||
const wxString &shortMsg,
|
||||
const wxString &message,
|
||||
const int xSize, const int ySize);
|
||||
|
||||
/// Displays a new window with wxHTML help.
|
||||
void ShowHtmlText( wxWindow * pParent,
|
||||
const wxString &Title,
|
||||
const wxString &HtmlText,
|
||||
bool bIsFile, bool bModal);
|
||||
|
||||
/// Displays a file in your browser, if it's available locally,
|
||||
/// OR else links to the internet.
|
||||
void ShowHelpDialog(wxWindow *parent,
|
||||
const wxString &localFileName,
|
||||
const wxString &remoteURL);
|
||||
|
||||
|
||||
|
||||
#endif // __AUDACITY_HELPSYSTEM__
|
||||
Reference in New Issue
Block a user