filename | src/drivers/cd_none.c |
changeset | 736:a02d1475ccfd |
prev | 709:18c39a8e504c |
author | nkeynes |
date | Wed Mar 25 11:57:05 2009 +0000 (14 years ago) |
permissions | -rw-r--r-- |
last change | Change glXMakeContextCurrent call to glXMakeCurrent - works around crash bug in mesa: http://www.mail-archive.com/mesa-commit@lists.freedesktop.org/msg04338.html |
view | annotate | diff | log | raw |
1 /**
2 * $Id$
3 *
4 * The "null" cdrom device driver. Just provides a couple of empty stubs.
5 *
6 * Copyright (c) 2005 Nathan Keynes.
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
17 */
19 #include "gdrom/gddriver.h"
21 static gboolean cdnone_image_is_valid( FILE *f );
22 static gdrom_disc_t cdnone_open_device( const gchar *filename, FILE *f );
24 struct gdrom_image_class cdrom_device_class = { "None", NULL,
25 cdnone_image_is_valid, cdnone_open_device };
27 GList *cdrom_get_native_devices(void)
28 {
29 return NULL;
30 }
32 gdrom_disc_t cdrom_open_device( const gchar *method, const gchar *path )
33 {
34 return NULL;
35 }
39 static gboolean cdnone_image_is_valid( FILE *f )
40 {
41 return FALSE;
42 }
44 static gdrom_disc_t cdnone_open_device( const gchar *filename, FILE *f )
45 {
46 return NULL;
47 }
.