1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-16 08:09:32 +02:00
This commit is contained in:
v.audacity 2010-07-31 00:29:21 +00:00
parent f111158880
commit be83111226
4 changed files with 17 additions and 12 deletions

View File

@ -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()
{

View File

@ -181,7 +181,9 @@ void OnExportMultiple();
void OnExportLabels();
void OnExportMIDI();
void OnUpload();
#ifdef EXPERIMENTAL_FTP
void OnUpload();
#endif
void OnPreferences();

View File

@ -2922,9 +2922,7 @@ bool AudacityProject::Save(bool overwrite /* = true */ ,
bool bWantSaveCompressed /*= false*/)
{
if (bWantSaveCompressed)
{
wxASSERT(fromSaveAs);
}
else
{
TrackListIterator iter(mTracks);

View File

@ -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;
};