mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-04 06:29:07 +02:00
... in four cases; not in some other .cpp file. This is another move that causes the generated graph to reflect dependencies correctly. This fixes other large, hidden cycles that involved PrefsDialog.cpp: there was link dependency on that when PrefsPanel.h was used for the base class. No longer. Also cycles involving TrackPanel.cpp, which contained the default implementations for TrackPanelCell and related abstract base classes.
34 lines
700 B
C++
34 lines
700 B
C++
/**********************************************************************
|
|
|
|
Audacity: A Digital Audio Editor
|
|
|
|
ImportPlugin.cpp
|
|
|
|
Paul Licameli split from Import.cpp
|
|
|
|
**********************************************************************/
|
|
|
|
#include "ImportPlugin.h"
|
|
|
|
#include <wx/filename.h>
|
|
#include "../widgets/ProgressDialog.h"
|
|
|
|
ImportFileHandle::ImportFileHandle(const FilePath & filename)
|
|
: mFilename(filename)
|
|
{
|
|
}
|
|
|
|
ImportFileHandle::~ImportFileHandle()
|
|
{
|
|
}
|
|
|
|
void ImportFileHandle::CreateProgress()
|
|
{
|
|
wxFileName ff( mFilename );
|
|
|
|
auto title = XO("Importing %s").Format( GetFileDescription() );
|
|
mProgress = std::make_unique< ProgressDialog >(
|
|
title, Verbatim( ff.GetFullName() ) );
|
|
}
|
|
|