summaryrefslogtreecommitdiff
path: root/src/playerid.h
diff options
context:
space:
mode:
authorMateusz Łukasik <mati75@linuxmint.pl>2015-04-25 16:17:41 +0200
committerMateusz Łukasik <mati75@linuxmint.pl>2015-04-25 16:17:41 +0200
commit45ee5ac6dc2159352596ce8e8ec744e0c864d492 (patch)
tree55ca90fd4a0d5c0eae188c5919510b6b0d2e3c5d /src/playerid.h
parenta35c74c509f107094fd81cee8df109b652063969 (diff)
Imported Upstream version 14.9.0.6690~ds0
Diffstat (limited to 'src/playerid.h')
-rw-r--r--src/playerid.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/playerid.h b/src/playerid.h
new file mode 100644
index 0000000..4b94d1e
--- /dev/null
+++ b/src/playerid.h
@@ -0,0 +1,31 @@
+/* smplayer, GUI front-end for mplayer.
+ Copyright (C) 2006-2015 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
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+*/
+
+#ifndef PLAYERID_H
+#define PLAYERID_H
+
+#include <QString>
+
+class PlayerID
+{
+public:
+ enum Player { MPLAYER = 0, MPV = 1 };
+ static Player player(const QString & player_bin);
+};
+
+#endif