Changeset 175 for smplayer/vendor/current/src/mplayerversion.h
- Timestamp:
- May 3, 2016, 2:14:41 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
smplayer/vendor/current/src/mplayerversion.h
r163 r175 1 1 /* smplayer, GUI front-end for mplayer. 2 Copyright (C) 2006-201 4Ricardo Villalba <rvm@users.sourceforge.net>2 Copyright (C) 2006-2016 Ricardo Villalba <rvm@users.sourceforge.net> 3 3 4 4 This program is free software; you can redistribute it and/or modify … … 17 17 */ 18 18 19 #ifndef _MPLAYERVERSION_H_20 #define _MPLAYERVERSION_H_19 #ifndef MPLAYERVERSION_H 20 #define MPLAYERVERSION_H 21 21 22 22 #include <QString> … … 27 27 #define MPLAYER_1_0_RC4_SVN 33472 28 28 #define MPLAYER_1_1 34992 29 #define MPLAYER_1_2 37540 29 30 30 31 class MplayerVersion { … … 40 41 static bool isMplayerAtLeast(int svn_revision); 41 42 42 static bool isM player2() { return is_mplayer2; };43 static bool isMPV() { return is_mpv; }; 43 44 44 45 static QString toString(int mplayer_svn); 45 46 47 static QString mpvVersion() { return mpv_version; }; 48 49 #ifdef MPLAYER2_SUPPORT 50 static bool isMplayer2() { return is_mplayer2; }; 51 static QString mplayer2Version() { return mplayer2_version; }; 52 #endif 53 54 46 55 protected: 56 static QString mpv_version; 57 static bool is_mpv; 58 59 #ifdef MPLAYER2_SUPPORT 47 60 static QString mplayer2_version; 48 static bool is_mplayer2; 61 static bool is_mplayer2; 62 #endif 49 63 }; 50 64
Note:
See TracChangeset
for help on using the changeset viewer.