Engauge Digitizer  2
FileCmdFactory.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 FILE_CMD_FACTORY_H
8 #define FILE_CMD_FACTORY_H
9 
10 #include "FileCmdAbstract.h"
11 
12 class QXmlStreamReader;
13 
16 {
17  public:
20  virtual ~FileCmdFactory();
21 
23  FileCmdAbstract *createFileCmd (QXmlStreamReader &reader) const;
24 };
25 
26 #endif // FILE_CMD_FACTORY_H
FileCmdFactory()
Single constructor.
Base class for 'file commands' that are used specifically for regression testing of file import/open/...
FileCmdAbstract * createFileCmd(QXmlStreamReader &reader) const
Create one FileCmdAbstract from the specified xml subtree.
Factory that creates FileCmds from a file cmd script file, in xml format.