summaryrefslogtreecommitdiffstats
path: root/smglobals.h
diff options
context:
space:
mode:
authorArno <am@disconnect.de>2014-02-15 04:55:46 +0100
committerArno <am@disconnect.de>2014-02-15 04:55:46 +0100
commit816b84b7a4263c587c661e4c7178f3b6721e4cfe (patch)
treed5d6bd412d26b29f053ba7f3135f85b01dae08a7 /smglobals.h
parentdcbf9244f0ed147a5f3c412b9e83c581b58fa1b2 (diff)
downloadSheMov-816b84b7a4263c587c661e4c7178f3b6721e4cfe.tar.gz
SheMov-816b84b7a4263c587c661e4c7178f3b6721e4cfe.tar.bz2
SheMov-816b84b7a4263c587c661e4c7178f3b6721e4cfe.zip
Replace ArchiveModel::FileType with #define
These constants are used all over the place and aren't really specific to ArchiveModel, so use the preprocessor.
Diffstat (limited to 'smglobals.h')
-rw-r--r--smglobals.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/smglobals.h b/smglobals.h
index e01a500..9bd6fd2 100644
--- a/smglobals.h
+++ b/smglobals.h
@@ -21,6 +21,12 @@ class ArchiveController;
// this was: 4707319808 - 20 * 1024 *1024
#define DVDSIZE 4686348288
+// File type: used all over the place
+#define FT_MOVIE 1
+#define FT_FRONTCOVER 2
+#define FT_BACKCOVER 3
+#define FT_GENERALCOVER 4
+
class SmGlobals : public QObject {
Q_OBJECT
public: