]> Shamusworld >> Repos - architektonas/blob - src/base/pattern.h
Initial removal of unnecessary rs_ prefixes from files.
[architektonas] / src / base / pattern.h
1 #ifndef __PATTERN_H__
2 #define __PATTERN_H__
3
4 #include "entitycontainer.h"
5
6 class RS_PatternList;
7
8 /**
9  * Patterns are used for hatches. They are stored in a RS_PatternList.
10  * Use RS_PatternList to access a pattern.
11  *
12  * @author Andrew Mustun
13  */
14 class RS_Pattern: public RS_EntityContainer
15 {
16         public:
17                 RS_Pattern(const QString & fileName);
18                 virtual ~RS_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