]> Shamusworld >> Repos - architektonas/blob - src/base/pattern.h
Fixed problem with MDI activation.
[architektonas] / src / base / pattern.h
1 #ifndef __PATTERN_H__
2 #define __PATTERN_H__
3
4 #include "entitycontainer.h"
5
6 class PatternList;
7
8 /**
9  * Patterns are used for hatches. They are stored in a PatternList.
10  * Use PatternList to access a pattern.
11  *
12  * @author Andrew Mustun
13  */
14 class Pattern: public EntityContainer
15 {
16         public:
17                 Pattern(const QString & file);
18                 virtual ~Pattern();
19
20                 virtual bool loadPattern();
21                 QString getFileName() const;
22
23         protected:
24                 //! Pattern file name
25                 QString filename;
26                 //! Is this pattern currently loaded into memory?
27                 bool loaded;
28 };
29
30 #endif