/[pearpc]/src/system/osapi/posix/syscdrom.cc
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /src/system/osapi/posix/syscdrom.cc

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1 - (show annotations)
Wed Sep 5 17:11:21 2007 UTC (16 years, 6 months ago) by dpavlin
File size: 1354 byte(s)
import upstream CVS
1 /*
2 * PearPC
3 * syscdrom.cc
4 *
5 * Copyright (C) 2003 Sebastian Biallas (sb@biallas.net)
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
19 */
20
21 #include <cstdio>
22 #include <cstring>
23 #include "errno.h"
24
25 #include "io/ide/cd.h"
26 #include "debug/tracers.h"
27
28 /// Creates a native CDROM device
29 /// @param device_name The PearPC internal device name for the drive
30 /// @param image_name The image / device name to identify the real hardware
31 /// @return On success a pointer to a CDROMDevice is returned, else NULL
32 /// @author Alexander Stockinger
33 /// @date 07/19/2004
34 CDROMDevice* createNativeCDROMDevice(const char* device_name, const char* image_name)
35 {
36 IO_IDE_ERR("No native CDROMs supported on POSIX\n");
37 // No native CDROM devices on this platform
38 return NULL;
39 }

  ViewVC Help
Powered by ViewVC 1.1.26