mirror of
https://github.com/cookiengineer/audacity
synced 2026-04-11 16:50:25 +02:00
Move ProjectWindowBase to new files...
... So that you can use GetProject without other linkage dependencies
This commit is contained in:
26
src/ProjectWindowBase.cpp
Normal file
26
src/ProjectWindowBase.cpp
Normal file
@@ -0,0 +1,26 @@
|
||||
/**********************************************************************
|
||||
|
||||
Audacity: A Digital Audio Editor
|
||||
|
||||
ProjectWindowBase.cpp
|
||||
|
||||
Paul Licameli split from ProjectWindow.cpp
|
||||
|
||||
**********************************************************************/
|
||||
|
||||
#include "ProjectWindowBase.h"
|
||||
|
||||
#include "Project.h"
|
||||
|
||||
ProjectWindowBase::ProjectWindowBase(wxWindow * parent, wxWindowID id,
|
||||
const wxPoint & pos,
|
||||
const wxSize & size, AudacityProject &project)
|
||||
: wxFrame(parent, id, _TS("Audacity"), pos, size)
|
||||
, mProject{ project }
|
||||
{
|
||||
project.SetFrame( this );
|
||||
};
|
||||
|
||||
ProjectWindowBase::~ProjectWindowBase()
|
||||
{
|
||||
}
|
||||
Reference in New Issue
Block a user