Go to the documentation of this file.00001 #ifndef _IDRAWALGORITHM_H_687415313878_
00002 #define _IDRAWALGORITHM_H_687415313878_
00003
00004 class QUndoCommand;
00005 class Editor;
00006 class IAutomaton;
00007 class QPoint;
00008
00009 #include "iautomaton.h"
00010 #include "state.h"
00011 #include <QList>
00012
00013 class IDrawAlgorithm
00014 {
00015 public:
00016 virtual ~IDrawAlgorithm() {}
00017
00018
00019
00020 virtual QList<State*> drawAutomaton(Editor *editor, const QSharedPointer<IAutomaton> &automaton) = 0;
00021
00022 virtual QString getName() const = 0;
00023 };
00024
00025 #endif