Audacity  2.2.2
NotYetAvailableException.cpp
Go to the documentation of this file.
1 //
2 // NotYetAvailableException.cpp
3 //
4 //
5 // Created by Paul Licameli on 12/25/16.
6 //
7 //
8 
9 #include "../Audacity.h"
11 #include "../Internat.h"
12 
14 {
15 }
16 
17 std::unique_ptr< AudacityException > NotYetAvailableException::Move()
18 {
19  return std::unique_ptr< AudacityException >
20  { safenew NotYetAvailableException{ std::move( *this ) } };
21 }
22 
24 {
25  return wxString::Format(
26  _("This operation cannot be done until importation of %s completes."),
27  fileName.GetFullName()
28  );
29 }
std::unique_ptr< AudacityException > Move() override
#define safenew
Definition: Audacity.h:223
wxFileName fileName
Definition: FileException.h:47
_("Move Track &Down")+wxT("\t")+(GetActiveProject() -> GetCommandManager() ->GetKeyFromName(wxT("TrackMoveDown"))), OnMoveTrack) POPUP_MENU_ITEM(OnMoveTopID, _("Move Track to &Top")+wxT("\t")+(GetActiveProject() ->GetCommandManager() ->GetKeyFromName(wxT("TrackMoveTop"))), OnMoveTrack) POPUP_MENU_ITEM(OnMoveBottomID, _("Move Track to &Bottom")+wxT("\t")+(GetActiveProject() ->GetCommandManager() ->GetKeyFromName(wxT("TrackMoveBottom"))), OnMoveTrack) void TrackMenuTable::OnSetName(wxCommandEvent &)
wxString ErrorMessage() const override