Ignore:
Timestamp:
May 3, 2016, 2:14:41 PM (9 years ago)
Author:
Silvan Scherrer
Message:

smplayer: update vendor to version 16.4

File:
1 edited

Legend:

Unmodified
Added
Removed
  • smplayer/vendor/current/src/mplayerversion.h

    r163 r175  
    11/*  smplayer, GUI front-end for mplayer.
    2     Copyright (C) 2006-2014 Ricardo Villalba <rvm@users.sourceforge.net>
     2    Copyright (C) 2006-2016 Ricardo Villalba <rvm@users.sourceforge.net>
    33
    44    This program is free software; you can redistribute it and/or modify
     
    1717*/
    1818
    19 #ifndef _MPLAYERVERSION_H_
    20 #define _MPLAYERVERSION_H_
     19#ifndef MPLAYERVERSION_H
     20#define MPLAYERVERSION_H
    2121
    2222#include <QString>
     
    2727#define MPLAYER_1_0_RC4_SVN 33472
    2828#define MPLAYER_1_1 34992
     29#define MPLAYER_1_2 37540
    2930
    3031class MplayerVersion {
     
    4041        static bool isMplayerAtLeast(int svn_revision);
    4142
    42         static bool isMplayer2() { return is_mplayer2; };
     43        static bool isMPV() { return is_mpv; };
    4344
    4445        static QString toString(int mplayer_svn);
    4546
     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
    4655protected:
     56        static QString mpv_version;
     57        static bool is_mpv;
     58
     59#ifdef MPLAYER2_SUPPORT
    4760        static QString mplayer2_version;
    48         static bool is_mplayer2;
     61        static bool is_mplayer2;
     62#endif
    4963};
    5064
Note: See TracChangeset for help on using the changeset viewer.