1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-16 16:10:06 +02:00

Move some conditionally compiled declarations out of Experimental.h

This commit is contained in:
Paul Licameli 2020-06-19 21:25:48 -04:00
parent b4b5cc8124
commit b45882e8a0
3 changed files with 12 additions and 7 deletions

View File

@ -151,13 +151,7 @@
// USE_MIDI must be defined in order for EXPERIMENTAL_SCOREALIGN to work // USE_MIDI must be defined in order for EXPERIMENTAL_SCOREALIGN to work
//#define EXPERIMENTAL_SCOREALIGN //#define EXPERIMENTAL_SCOREALIGN
//If you want any of these files, ask JKC. They are not //#define EXPERIMENTAL_NOTEBOOK
//yet checked in to Audacity SVN as of 12-Feb-2010
#ifdef EXPERIMENTAL_NOTEBOOK
#include "widgets/GuiFactory.h"
#include "widgets/APanel.h"
extern void AddPages( AudacityProject * pProj, GuiFactory & Factory, wxNotebook * pNotebook );
#endif
#ifdef EXPERIMENTAL_NYQUIST_INSPECTOR #ifdef EXPERIMENTAL_NYQUIST_INSPECTOR
#include "NyquistAdapter.h" #include "NyquistAdapter.h"

View File

@ -350,6 +350,10 @@ private:
#endif #endif
#ifdef EXPERIMENTAL_NOTEBOOK
extern void AddPages( AudacityProject * pProj, GuiFactory & Factory, wxNotebook * pNotebook );
#endif
void InitProjectWindow( ProjectWindow &window ) void InitProjectWindow( ProjectWindow &window )
{ {
auto &project = window.GetProject(); auto &project = window.GetProject();

View File

@ -566,6 +566,13 @@ enum {
NextID, NextID,
}; };
//If you want any of these files, ask JKC. They are not
//yet checked in to Audacity SVN as of 12-Feb-2010
#ifdef EXPERIMENTAL_NOTEBOOK
#include "GuiFactory.h"
#include "APanel.h"
#endif
ProjectWindow::ProjectWindow(wxWindow * parent, wxWindowID id, ProjectWindow::ProjectWindow(wxWindow * parent, wxWindowID id,
const wxPoint & pos, const wxPoint & pos,
const wxSize & size, AudacityProject &project) const wxSize & size, AudacityProject &project)