began node work

This commit is contained in:
itsmattkc
2019-04-08 14:13:08 +10:00
parent 8e3d664061
commit 3e1c857de4
13 changed files with 189 additions and 2 deletions
+31
View File
@@ -0,0 +1,31 @@
#ifndef NODE_H
#define NODE_H
#include <QObject>
#include <QVector>
class NodeInput {
public:
NodeInput();
private:
QString name_;
};
class Node : public QObject
{
Q_OBJECT
public:
Node();
private:
int max_inputs_;
QVector<Node*> inputs_;
int max_outputs_;
QVector<Node*> outputs_;
};
#endif // NODE_H