From 816b84b7a4263c587c661e4c7178f3b6721e4cfe Mon Sep 17 00:00:00 2001 From: Arno Date: Sat, 15 Feb 2014 04:55:46 +0100 Subject: Replace ArchiveModel::FileType with #define These constants are used all over the place and aren't really specific to ArchiveModel, so use the preprocessor. --- smglobals.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'smglobals.h') 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: -- cgit v1.2.3-70-g09d2