Audacity  2.2.2
Classes | Typedefs | Functions
AboutDialog.h File Reference
#include "MemoryX.h"
#include <vector>
#include <wx/sizer.h>
#include <wx/statbmp.h>
#include <wx/bitmap.h>
#include "widgets/wxPanelWrapper.h"

Go to the source code of this file.

Classes

class  AboutDialogCreditItem
 AboutDialogCreditItem is a structure used by the AboutDialog to hold information about one contributor to Audacity. More...
 
class  AboutDialog
 The AboutDialog shows the program version and developer credits. More...
 

Typedefs

using AboutDialogCreditItemsList = std::vector< AboutDialogCreditItem >
 

Functions

const wxString VerCheckArgs ()
 
const wxString VerCheckUrl ()
 
const wxString VerCheckHtml ()
 

Typedef Documentation

Definition at line 54 of file AboutDialog.h.

Function Documentation

const wxString VerCheckArgs ( )

Definition at line 73 of file AboutDialog.cpp.

References AUDACITY_VERSION_STRING.

Referenced by VerCheckUrl().

73  {
74  wxString result = wxString("from_ver=") + AUDACITY_VERSION_STRING;
75 #ifdef REV_LONG
76  result += wxString("&CommitId=")+wxString(REV_LONG).Left(6);
77 #endif
78  result += wxString("&Time=") + wxString( __DATE__ ) + wxString( __TIME__ );
79  result.Replace(" ","");
80  return result;
81 }
#define AUDACITY_VERSION_STRING
Definition: Audacity.h:81
const wxString VerCheckHtml ( )

Definition at line 96 of file AboutDialog.cpp.

References _(), and VerCheckUrl().

Referenced by HelpTextBuiltIn(), and AboutDialog::PopulateInformationPage().

96  {
97 
98  wxString result = "<center>[[";
99  result += VerCheckUrl() + "|" + _("Check Online");
100  result += "]]</center>\n";
101  return result;
102 }
const wxString VerCheckUrl()
Definition: AboutDialog.cpp:84
_("Move Track &Down")+wxT("\t")+(GetActiveProject() -> GetCommandManager() ->GetKeyFromName(wxT("TrackMoveDown")).Raw()), OnMoveTrack) POPUP_MENU_ITEM(OnMoveTopID, _("Move Track to &Top")+wxT("\t")+(GetActiveProject() ->GetCommandManager() ->GetKeyFromName(wxT("TrackMoveTop")).Raw()), OnMoveTrack) POPUP_MENU_ITEM(OnMoveBottomID, _("Move Track to &Bottom")+wxT("\t")+(GetActiveProject() ->GetCommandManager() ->GetKeyFromName(wxT("TrackMoveBottom")).Raw()), OnMoveTrack)#define SET_TRACK_NAME_PLUGIN_SYMBOLclass SetTrackNameCommand:public AudacityCommand
const wxString VerCheckUrl ( )

Definition at line 84 of file AboutDialog.cpp.

References VER_CHECK_URL, and VerCheckArgs().

Referenced by AudacityProject::OnCheckForUpdates(), and VerCheckHtml().

84  {
85  //The version we intend to use for live Audacity.
86 #define VER_CHECK_URL "https://www.audacityteam.org/download/?"
87 //For testing of our scriptlet.
88 //#define VER_CHECK_URL "http://www.audacityteam.org/slug/?"
89 //For testing locally
90 //#define VER_CHECK_URL "http://localhost:63342/WorkingDocs/demos/download.html?"
91 
92  return wxString( wxT(VER_CHECK_URL)) +VerCheckArgs();
93 }
#define VER_CHECK_URL
const wxString VerCheckArgs()
Definition: AboutDialog.cpp:73