Still experimenting with unit testing code.
[emufront] / src / dataobjects / filepathobject.h
index 53d82bd..d0bb80f 100644 (file)
@@ -27,7 +27,7 @@ class Setup;
 class FilePathObject : public EmuFrontObject
 {
 public:
-    FilePathObject();
+    FilePathObject(int type);
     ~FilePathObject();
     FilePathObject(int id, QString name, int filetype);
     FilePathObject(int id, QString name, int filetype, Setup*);
@@ -39,6 +39,13 @@ public:
     int getType() const;
     void setType(int);
 
+    enum {
+        FilePathType_MediaImageDir = 1,
+        FilePathType_TmpDir,
+        FilePathType_PlatformIconsDir,
+        FilePathType_MediaIconsDir
+    };
+
 private:
     int type;
     Setup *setup;