• Main Page
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

C:/CVUT/diplomka/Automata_editor/include/interfaces/idrawalgorithm.h

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     //! Returns list of currently created states with transitions assigned, just use ItemsAddCommand on it
00019     //! \param startPos is left-top corner of result automaton
00020     virtual QList<State*> drawAutomaton(Editor *editor, const QSharedPointer<IAutomaton> &automaton) = 0;
00021 
00022     virtual QString getName() const = 0;
00023 };
00024 
00025 #endif

Generated on Tue Jan 4 2011 03:03:21 for Autoamata editor by  doxygen 1.7.0