1
0
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:
Paul Licameli
2020-01-02 19:43:37 -05:00
parent be24e6b5a1
commit 973f15c5ac
10 changed files with 251 additions and 180 deletions

26
src/ProjectWindowBase.cpp Normal file
View 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()
{
}