Engauge Digitizer  2
CmdFactory.h
1 /******************************************************************************************************
2  * (C) 2014 markummitchell@github.com. This file is part of Engauge Digitizer, which is released *
3  * under GNU General Public License version 2 (GPLv2) or (at your option) any later version. See file *
4  * LICENSE or go to gnu.org/licenses for details. Distribution requires prior written permission. *
5  ******************************************************************************************************/
6 
7 #ifndef CMD_FACTORY_H
8 #define CMD_FACTORY_H
9 
10 class CmdAbstract;
11 class Document;
12 class MainWindow;
13 class QXmlStreamReader;
14 
17 {
18 public:
20  CmdFactory ();
21 
23  CmdAbstract *createCmd (MainWindow &mainWindow,
24  Document &document,
25  QXmlStreamReader &reader);
26 
27 };
28 
29 #endif // CMD_FACTORY_H
Factory for CmdAbstractBase objects.
Definition: CmdFactory.h:16
Wrapper around QUndoCommand. This simplifies the more complicated feature set of QUndoCommand.
Definition: CmdAbstract.h:19
CmdFactory()
Single constructor.
Definition: CmdFactory.cpp:38
Storage of one imported image and the data attached to that image.
Definition: Document.h:41
Main window consisting of menu, graphics scene, status bar and optional toolbars as a Single Document...
Definition: MainWindow.h:89
CmdAbstract * createCmd(MainWindow &mainWindow, Document &document, QXmlStreamReader &reader)
Factory method. Input is the xml node from an error report file.
Definition: CmdFactory.cpp:42