mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-16 08:09:32 +02:00
cleanup
This commit is contained in:
parent
f111158880
commit
be83111226
@ -297,7 +297,6 @@ void AudacityProject::CreateMenusAndCommands()
|
||||
|
||||
#ifdef EXPERIMENTAL_FTP
|
||||
c->AddSeparator();
|
||||
|
||||
c->AddItem(wxT("Upload File"), _("&Upload File..."), FN(OnUpload));
|
||||
#endif
|
||||
|
||||
@ -2770,14 +2769,16 @@ void AudacityProject::OnExit()
|
||||
QuitAudacity();
|
||||
}
|
||||
|
||||
void AudacityProject::OnUpload()
|
||||
{
|
||||
//if (mTags->ShowEditDialog(this, wxT("Edit ID3 Tags (for MP3 exporting)")))
|
||||
// PushState(wxT("Edit ID3 Tags"), wxT("Edit ID3 Tags"));
|
||||
#ifdef EXPERIMENTAL_FTP
|
||||
void AudacityProject::OnUpload()
|
||||
{
|
||||
//if (mTags->ShowEditDialog(this, wxT("Edit ID3 Tags (for MP3 exporting)")))
|
||||
// PushState(wxT("Edit ID3 Tags"), wxT("Edit ID3 Tags"));
|
||||
|
||||
UploadDialog dlog(this);
|
||||
dlog.ShowModal();
|
||||
}
|
||||
UploadDialog dlog(this);
|
||||
dlog.ShowModal();
|
||||
}
|
||||
#endif
|
||||
|
||||
void AudacityProject::OnExportLabels()
|
||||
{
|
||||
|
@ -181,7 +181,9 @@ void OnExportMultiple();
|
||||
void OnExportLabels();
|
||||
void OnExportMIDI();
|
||||
|
||||
void OnUpload();
|
||||
#ifdef EXPERIMENTAL_FTP
|
||||
void OnUpload();
|
||||
#endif
|
||||
|
||||
void OnPreferences();
|
||||
|
||||
|
@ -2922,9 +2922,7 @@ bool AudacityProject::Save(bool overwrite /* = true */ ,
|
||||
bool bWantSaveCompressed /*= false*/)
|
||||
{
|
||||
if (bWantSaveCompressed)
|
||||
{
|
||||
wxASSERT(fromSaveAs);
|
||||
}
|
||||
else
|
||||
{
|
||||
TrackListIterator iter(mTracks);
|
||||
|
@ -107,7 +107,11 @@ class ImportXMLTagHandler : public XMLTagHandler
|
||||
|
||||
virtual bool HandleXMLTag(const wxChar *tag, const wxChar **attrs);
|
||||
virtual XMLTagHandler *HandleXMLChild(const wxChar *tag) { return NULL; };
|
||||
virtual void WriteXML(XMLWriter &xmlFile) { wxASSERT(false); } //vvv todo
|
||||
|
||||
// Don't want a WriteXML method because ImportXMLTagHandler is not a WaveTrack.
|
||||
// <import> tags are instead written by AudacityProject::WriteXML.
|
||||
// virtual void WriteXML(XMLWriter &xmlFile) { wxASSERT(false); }
|
||||
|
||||
private:
|
||||
AudacityProject* mProject;
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user