*
*/
+#include "auto.h"
#include "bcdisplayinfo.h"
#include "clip.h"
#include "bchash.h"
+#include "edit.h"
+#include "edits.h"
#include "edl.h"
#include "edlsession.h"
#include "guicast.h"
#include "meterpanel.h"
#include "mwindow.h"
#include "mwindowgui.h"
-#include "auto.h"
+#include "plugin.h"
MainSession::MainSession(MWindow *mwindow)
{
return 0;
}
+
+Track *MainSession::drag_handle_track()
+{
+ Track *track = 0;
+ switch( current_operation ) {
+ case DRAG_EDITHANDLE1:
+ case DRAG_EDITHANDLE2:
+ track = drag_edit->edits->track;
+ break;
+ case DRAG_PLUGINHANDLE1:
+ case DRAG_PLUGINHANDLE2:
+ track = drag_plugin->edits->track;
+ break;
+ }
+ return track;
+}
+