moved several files around

Mostly moved classes that became node derivatives into the node/ folder.
This commit is contained in:
itsmattkc
2021-04-08 12:15:59 +10:00
parent 2791e8d738
commit cb75e37e77
115 changed files with 159 additions and 128 deletions
-5
View File
@@ -55,11 +55,6 @@ Track::Track() :
track_height_ = kTrackHeightDefault;
}
Track::~Track()
{
DisconnectAll();
}
void Track::set_type(const Type &track_type)
{
track_type_ = track_type;
+1 -1
View File
@@ -44,7 +44,7 @@ public:
Track();
virtual ~Track() override;
NODE_DEFAULT_DESTRUCTOR(Track)
const Track::Type& type() const;
void set_type(const Track::Type& track_type);
+1 -1
View File
@@ -24,7 +24,7 @@
#include "node/math/math/math.h"
#include "node/math/merge/merge.h"
#include "node/output/viewer/viewer.h"
#include "project/item/sequence/sequence.h"
#include "node/project/sequence/sequence.h"
namespace olive {
-8
View File
@@ -57,14 +57,6 @@ ViewerOutput::ViewerOutput(bool create_default_streams) :
}
}
ViewerOutput::~ViewerOutput()
{
// Should prevent traversing graph unnecessarily
BeginOperation();
DisconnectAll();
EndOperation();
}
Node *ViewerOutput::copy() const
{
return new ViewerOutput();
+2 -1
View File
@@ -45,7 +45,8 @@ class ViewerOutput : public Node
Q_OBJECT
public:
ViewerOutput(bool create_default_streams = true);
virtual ~ViewerOutput() override;
NODE_DEFAULT_DESTRUCTOR(ViewerOutput)
virtual Node* copy() const override;