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 CURSOR_FACTORY_H
8 #define CURSOR_FACTORY_H
9 
10 #include <QCursor>
11 
12 class DocumentModelDigitizeCurve;
13 
14 /// Create standard cross cursor, or custom cursor, according to settings
15 class CursorFactory
16 {
17 public:
18   /// Single constructor
19   CursorFactory();
20 
21   /// Factory method to generate standard or custom cursor
22   QCursor generate (const DocumentModelDigitizeCurve &modelDigitizeCurve) const;
23 };
24 
25 #endif // CURSOR_FACTORY_H
26