aboutsummaryrefslogtreecommitdiffstats
path: root/src/diagram/branchstatement.cpp
diff options
context:
space:
mode:
authorNao Pross <naopross@thearcway.org>2018-01-01 18:44:35 +0100
committerNao Pross <naopross@thearcway.org>2018-01-01 18:44:35 +0100
commit7ea534dd1c8bf72200a999cae554d842d9035ba9 (patch)
tree6b2438ea6f7c27c8069458d599bfbf2ba5534ce7 /src/diagram/branchstatement.cpp
parentImplement basic ui (diff)
downloadOrbitingYeti-7ea534dd1c8bf72200a999cae554d842d9035ba9.tar.gz
OrbitingYeti-7ea534dd1c8bf72200a999cae554d842d9035ba9.zip
New StatementDialog, rename diagram classes
Other changes: - Use raw pointer instead of smart pointers to manage resources - Initial Painter implementation
Diffstat (limited to 'src/diagram/branchstatement.cpp')
-rw-r--r--src/diagram/branchstatement.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/diagram/branchstatement.cpp b/src/diagram/branchstatement.cpp
deleted file mode 100644
index 6511c6c..0000000
--- a/src/diagram/branchstatement.cpp
+++ /dev/null
@@ -1,16 +0,0 @@
-#include "diagram/branchstatement.h"
-
-using namespace samb;
-
-BranchStatement::BranchStatement(Type t, const QString &condition, pointer next) :
- Statement(t, condition, next)
-{
- switch (t) {
- case Statement::Type::DECISION:
- case Statement::Type::SWITCH:
- break;
-
- default:
- throw std::invalid_argument("BranchStatement can only be of type DECISION or SWITCH");
- }
-}