mirror of
https://github.com/cookiengineer/audacity
synced 2026-03-06 22:45:29 +01:00
AUP3: Removes OD code related to project file handling
This removes all of the OnDemand code embedded throughout
the main codebase. Individual files related specifically
to OD have been left in place, but removed from the build.
This commit is contained in:
@@ -78,9 +78,6 @@ is time to refresh some aspect of the screen.
|
||||
#include "TrackPanelResizerCell.h"
|
||||
#include "WaveTrack.h"
|
||||
|
||||
#include "ondemand/ODManager.h"
|
||||
#include "ondemand/ODTask.h"
|
||||
|
||||
#include "tracks/ui/TrackControls.h"
|
||||
#include "tracks/ui/TrackView.h"
|
||||
#include "tracks/ui/TrackVRulerControls.h"
|
||||
@@ -308,8 +305,6 @@ TrackPanel::TrackPanel(wxWindow * parent, wxWindowID id,
|
||||
this);
|
||||
|
||||
auto theProject = GetProject();
|
||||
wxTheApp->Bind(EVT_ODTASK_UPDATE, &TrackPanel::OnODTask, this);
|
||||
theProject->Bind(EVT_ODTASK_COMPLETE, &TrackPanel::OnODTask, this);
|
||||
theProject->Bind(
|
||||
EVT_PROJECT_SETTINGS_CHANGE, &TrackPanel::OnProjectSettingsChange, this);
|
||||
theProject->Bind(
|
||||
@@ -462,14 +457,6 @@ void TrackPanel::OnTimer(wxTimerEvent& )
|
||||
mTimeCount = 0;
|
||||
}
|
||||
|
||||
///Handles the redrawing necessary for tasks as they partially update in the
|
||||
///background, or finish.
|
||||
void TrackPanel::OnODTask(wxCommandEvent & WXUNUSED(event))
|
||||
{
|
||||
//todo: add track data to the event - check to see if the project contains it before redrawing.
|
||||
Refresh(false);
|
||||
}
|
||||
|
||||
void TrackPanel::OnProjectSettingsChange( wxCommandEvent &event )
|
||||
{
|
||||
event.Skip();
|
||||
|
||||
Reference in New Issue
Block a user