From 7ea534dd1c8bf72200a999cae554d842d9035ba9 Mon Sep 17 00:00:00 2001 From: Nao Pross Date: Mon, 1 Jan 2018 18:44:35 +0100 Subject: New StatementDialog, rename diagram classes Other changes: - Use raw pointer instead of smart pointers to manage resources - Initial Painter implementation --- include/diagram/branchstatement.h | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 include/diagram/branchstatement.h (limited to 'include/diagram/branchstatement.h') diff --git a/include/diagram/branchstatement.h b/include/diagram/branchstatement.h deleted file mode 100644 index 3d8c385..0000000 --- a/include/diagram/branchstatement.h +++ /dev/null @@ -1,32 +0,0 @@ -#ifndef DIAGRAM_BRANCHSTATEMENT_H -#define DIAGRAM_BRANCHSTATEMENT_H - -#include "diagram/statement.h" - -#include -#include - -namespace samb { - -/* Implementation for Statement::DECISION, Statement::SWITCH - */ -class BranchStatement : public Statement -{ -public: - BranchStatement(Type t, const QString &condition, pointer next); - - /* accessors */ - std::map& branches() { return _branches; } - std::size_t branches_count() const { return _branchesCount; } - - inline const QString& condition() const { return text(); } - inline void condition(const QString &condition) { return text(condition); } - -private: - std::map _branches; - std::size_t _branchesCount = 0; -}; - -} /* namespace samb */ - -#endif /* DIAGRAM_BRANCHSTATEMENT_H */ -- cgit v1.2.1