summaryrefslogtreecommitdiff
path: root/src/input/media_helper.h
diff options
context:
space:
mode:
authorBastien Nocera <hadess@users.sourceforge.net>2003-04-06 00:51:29 +0000
committerBastien Nocera <hadess@users.sourceforge.net>2003-04-06 00:51:29 +0000
commitbb653b8883c232f5a215b8a108f1c7fc4c92f1b3 (patch)
tree7cc74078894da35f1a84a2c02e67367670706dae /src/input/media_helper.h
parent52868140ed8175b91fb0e85e5d85684c1228b1e9 (diff)
downloadxine-lib-bb653b8883c232f5a215b8a108f1c7fc4c92f1b3.tar.gz
xine-lib-bb653b8883c232f5a215b8a108f1c7fc4c92f1b3.tar.bz2
- shared eject implementation taken from the DVD input, eject doesn't work if the CD/DVD isn't mounted, which definitely breaks the CDDA plugin... better than nothing
CVS patchset: 4542 CVS date: 2003/04/06 00:51:29
Diffstat (limited to 'src/input/media_helper.h')
-rw-r--r--src/input/media_helper.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/input/media_helper.h b/src/input/media_helper.h
new file mode 100644
index 000000000..41aeb6cb2
--- /dev/null
+++ b/src/input/media_helper.h
@@ -0,0 +1,23 @@
+/*
+ * Copyright (C) 2000-2002 the xine project,
+ *
+ * This file is part of xine, a free video player.
+ *
+ * xine 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.
+ *
+ * xine 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
+ *
+ */
+
+int media_eject_media (char *device);
+