From: Marc D. <ma...@us...> - 2005-02-14 16:33:44
|
Update of /cvsroot/pclasses/pclasses2/include/pclasses/System In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31595/include/pclasses/System Modified Files: CdRomDevice.h Log Message: added support for drive capabilities Index: CdRomDevice.h =================================================================== RCS file: /cvsroot/pclasses/pclasses2/include/pclasses/System/CdRomDevice.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- CdRomDevice.h 1 Feb 2005 00:14:34 -0000 1.2 +++ CdRomDevice.h 14 Feb 2005 16:33:34 -0000 1.3 @@ -1,7 +1,7 @@ /*************************************************************************** - * Copyright (C) 2005 by Christian Prochnow * - * cp...@se... * - * * + * Copyright (C) 2005 by Christian Prochnow (cp...@se...) * + * Copyright (C) 2005 by Marc Boris Dürner * + * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU Library General Public License as * * published by the Free Software Foundation; either version 2 of the * @@ -32,6 +32,14 @@ //! CD-ROM device class PSYSTEM_EXPORT CdRomDevice: public StorageDevice { public: + enum DriveCapability { + CdRom, + CdRw, + DvdRom, + DvdR, + DvdRam + }; + enum DriveStatus { NoInfo, NoDisc, @@ -60,7 +68,9 @@ ShareMode share) throw(IO::IOError); ~CdRomDevice() throw(); - + + DriveCapability capability() throw(IO::IOError); + DriveStatus driveStatus() throw(IO::IOError); DiscStatus discStatus() throw(IO::IOError); |