Corrected compiler error
[rofl0r-motor.git] / src / project / sourcetemplate.h
blob5ab4728db5bcb8d797392467a27f81038d979036
1 #ifndef __SOURCETEMPLATE_H__
2 #define __SOURCETEMPLATE_H__
4 #include "motorcommon.h"
6 __MOTOR_BEGIN_NAMESPACE
8 class sourcetemplate {
9 protected:
10 string fname;
12 public:
13 sourcetemplate(const string &afname);
14 ~sourcetemplate();
16 string getfname() const;
17 string getrawfname() const;
19 bool generate() const;
21 bool operator == (const string &afname) const;
22 bool operator != (const string &afname) const;
25 __MOTOR_END_NAMESPACE
27 #ifdef __MOTOR_USE_NAMESPACES
29 using motor::sourcetemplate;
31 #endif
33 #endif