moved several files around
Mostly moved classes that became node derivatives into the node/ folder.
This commit is contained in:
@@ -55,11 +55,6 @@ Track::Track() :
|
||||
track_height_ = kTrackHeightDefault;
|
||||
}
|
||||
|
||||
Track::~Track()
|
||||
{
|
||||
DisconnectAll();
|
||||
}
|
||||
|
||||
void Track::set_type(const Type &track_type)
|
||||
{
|
||||
track_type_ = track_type;
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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 {
|
||||
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user