mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-22 06:22:58 +02:00
Remove WaveTrack.h from other headers
This commit is contained in:
@@ -20,6 +20,7 @@ threshold of difference in two selected tracks
|
||||
#include "CompareAudioCommand.h"
|
||||
#include "../Project.h"
|
||||
#include "Command.h"
|
||||
#include "../WaveTrack.h"
|
||||
|
||||
wxString CompareAudioCommandType::BuildName()
|
||||
{
|
||||
|
@@ -20,7 +20,6 @@
|
||||
#include "../TrackPanel.h"
|
||||
#include "../Project.h"
|
||||
#include "../Track.h"
|
||||
#include "../WaveTrack.h"
|
||||
|
||||
wxString GetProjectInfoCommandType::BuildName()
|
||||
{
|
||||
@@ -149,3 +148,23 @@ void GetProjectInfoCommand::SendTracksInfo(TrackList *projTracks,
|
||||
}
|
||||
Status(boolValueStr);
|
||||
}
|
||||
|
||||
bool GetProjectInfoCommand::testSelected(Track * track) const
|
||||
{
|
||||
return track->GetSelected();
|
||||
}
|
||||
|
||||
bool GetProjectInfoCommand::testLinked(Track * track) const
|
||||
{
|
||||
return track->GetLinked();
|
||||
}
|
||||
|
||||
bool GetProjectInfoCommand::testSolo(Track * track) const
|
||||
{
|
||||
return track->GetSolo();
|
||||
}
|
||||
|
||||
bool GetProjectInfoCommand::testMute(Track * track) const
|
||||
{
|
||||
return track->GetMute();
|
||||
}
|
||||
|
@@ -50,10 +50,10 @@ private:
|
||||
void SendTracksInfo(TrackList *projTracks, Getter);
|
||||
|
||||
// Functions pointed to for getting track parameters
|
||||
bool testSelected(Track * track) const {return track->GetSelected();}
|
||||
bool testLinked( Track * track) const {return track->GetLinked();}
|
||||
bool testSolo( Track * track) const {return track->GetSolo();}
|
||||
bool testMute( Track * track) const {return track->GetMute();}
|
||||
bool testSelected(Track * track) const;
|
||||
bool testLinked(Track * track) const;
|
||||
bool testSolo(Track * track) const;
|
||||
bool testMute(Track * track) const;
|
||||
};
|
||||
|
||||
|
||||
|
@@ -19,7 +19,6 @@
|
||||
#include "GetTrackInfoCommand.h"
|
||||
#include "../TrackPanel.h"
|
||||
#include "../Project.h"
|
||||
#include "../Track.h"
|
||||
#include "../WaveTrack.h"
|
||||
|
||||
wxString GetTrackInfoCommandType::BuildName()
|
||||
|
@@ -15,6 +15,7 @@
|
||||
|
||||
#include "ImportExportCommands.h"
|
||||
#include "../Project.h"
|
||||
#include "../Track.h"
|
||||
#include "../export/Export.h"
|
||||
|
||||
// Import
|
||||
|
@@ -25,6 +25,7 @@ project window.
|
||||
#include <wx/settings.h>
|
||||
#include <wx/bitmap.h>
|
||||
|
||||
#include "../Track.h"
|
||||
#include "../TrackPanel.h"
|
||||
#include "../toolbars/ToolManager.h"
|
||||
#include "../toolbars/ToolBar.h"
|
||||
|
@@ -19,6 +19,7 @@
|
||||
#include "SelectCommand.h"
|
||||
#include <wx/string.h>
|
||||
#include "../Project.h"
|
||||
#include "../Track.h"
|
||||
|
||||
wxString SelectCommandType::BuildName()
|
||||
{
|
||||
|
@@ -19,7 +19,6 @@
|
||||
#include "SetProjectInfoCommand.h"
|
||||
#include "../Project.h"
|
||||
#include "../Track.h"
|
||||
#include "../WaveTrack.h"
|
||||
|
||||
// The following parameters have a boolean string, indicated by the kSetOfTracksStr
|
||||
#define kSetOfTracksStr "TrackSet"
|
||||
|
Reference in New Issue
Block a user