summaryrefslogtreecommitdiff
path: root/src/mplayerversion.h
diff options
context:
space:
mode:
authorAlessio Treglia <alessio@debian.org>2012-02-16 11:08:45 +0100
committerAlessio Treglia <alessio@debian.org>2012-02-16 11:08:45 +0100
commit65a64d260e05c7bf8d3bdf82e796637dc820e574 (patch)
tree600c2becea7f28fdefff51200bb3ed33514e4cc7 /src/mplayerversion.h
parent1d323e54ee434609cf035598486075c9a918a2d3 (diff)
Imported Upstream version 0.7.0
Diffstat (limited to 'src/mplayerversion.h')
-rw-r--r--src/mplayerversion.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/mplayerversion.h b/src/mplayerversion.h
index b75d8c4..62747c2 100644
--- a/src/mplayerversion.h
+++ b/src/mplayerversion.h
@@ -1,5 +1,5 @@
/* smplayer, GUI front-end for mplayer.
- Copyright (C) 2006-2011 Ricardo Villalba <rvm@escomposlinux.org>
+ Copyright (C) 2006-2012 Ricardo Villalba <rvm@users.sourceforge.net>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -24,6 +24,7 @@
#define MPLAYER_1_0_RC1_SVN 20372
#define MPLAYER_1_0_RC2_SVN 24722
#define MPLAYER_1_0_RC3_SVN 31272
+#define MPLAYER_1_0_RC4_SVN 33472
class MplayerVersion {
public:
@@ -37,7 +38,13 @@ public:
static bool isMplayerAtLeast(int svn_revision);
+ static bool isMplayer2() { return is_mplayer2; };
+
static QString toString(int mplayer_svn);
+
+protected:
+ static QString mplayer2_version;
+ static bool is_mplayer2;
};
#endif