Some type casting issues
[emufront] / src / dataobjects / platform.h
1 #ifndef PLATFORM_H
2 #define PLATFORM_H
3
4 #include "emufrontobject.h"
5
6 class Platform : public EmuFrontObject
7 {
8 public:
9     Platform();
10     Platform(int id, QString name, QString filename);
11     // No need for these as long we use QString (see Implicit Data Sharing)
12     /*Platform(const Platform &);
13     Platform &operator=(const Platform &);
14     virtual ~Platform();*/
15     const QString getFilename() const
16     { return filename; }
17     void setFilename(QString filename)
18     { this->filename = filename; }
19
20 private:
21     QString filename;
22 };
23
24 #endif // PLATFORM_H