Commit Graph

26 Commits

Author SHA1 Message Date
rocky
1736ea9c4e Went the subclassed exception route (at the expense of lots of extra
code and possibly extra maintenance). It will match the Python
interface and it's I guess what Stroustrup recommends.
2006-01-17 02:09:32 +00:00
rocky
004152ec29 Convert routines in device.hpp into raising an exception rather than
giving a return code. Sort of a test. More may follow.
2006-01-15 10:39:15 +00:00
rocky
08143632ef Forgot to change (C) on that last change. 2006-01-14 10:47:12 +00:00
rocky
220d8d80d2 Add tests of opening/closing without specifying a drive. 2006-01-14 10:46:23 +00:00
rocky
ac5bd98c97 Add corresponding mmc2 OO C++ program. 2005-11-14 01:16:25 +00:00
rocky
baf2516278 Add C++ wrapper routines for MMC commands inside CdioDevice class.
Some comments/code in sample programs gone over and new onse added for
libcdio++.
2005-11-14 01:15:33 +00:00
rocky
91147fd391 include/cdio++ Add pre- and post- increment/decrement operators for
libcdio enums that it makes sense to iterate over.

example/C++/OO/*: use these
example/*: match up C and C++ programs better.
2005-11-11 12:26:57 +00:00
rocky
1e9751d827 Remove a couple of signed/unsigned comparisons. 2005-11-10 11:22:55 +00:00
rocky
75960f732e automake Makefile for new C++ OO programs. 2005-11-10 11:17:15 +00:00
rocky
d7dd4a6c8a First cut at a C++ wrapper for libcdio libcdio++. What's not done are
audio and MMC commands. No doubt it may be a little rough and I expect
further changes.
2005-11-10 11:11:15 +00:00
rocky
9834af4577 Add eject 2005-11-07 07:54:52 +00:00
rocky
142c1e9e33 C eject works as C++ too.
Makefile.am: Add some of the dependency tracking.
2005-11-07 07:53:40 +00:00
rocky
6f81e9252b Add interface to eject CD-ROM by device name.
eject.c: new routine to test/show this.
example/*.c iso2.cpp: Note in comment allowance of an optional argument.
2005-11-07 07:44:00 +00:00
rocky
cf5698997d Minor typographical misspellings in comment 2005-10-30 14:25:46 +00:00
rocky
37bb687ed2 Was building paranoia programs when --without-cd-paranoia was given. 2005-10-06 00:14:22 +00:00
rocky
2afad8d866 Move lower-level cdrom_drive_t from paranoia.h into cdda.h
This may cause some incompatibilty in applications that did
#include <cdio/cdda.h> without #include <cdio/paranoia.h>

As of now it's okay to just #include <cdio/paranoia.h> or include both,
but #includ'ing only <cdio/cdda.h> will be a problem.
2005-09-21 01:41:31 +00:00
rocky
d8826d36a2 Add --with-versioned-libs for libcdio_paranioa and libcdio_cdda Remove
use of "new" even in private C parts. Changes and patch from Nicholas
Boullis.
2005-09-20 00:42:14 +00:00
rocky
f6a5b4ad0b configure.ac: make it explicit that --without-cd-paranoia also means
without the library

If --without-cd-paranoia don't try to build paranoia programs in example and
example/C++.

Thanks to Elio Blanca for reporting the problems.
2005-09-16 09:31:38 +00:00
rocky
711dcdac7b Add C++ versions of paranoia.c and paranioa2.c 2005-08-27 14:29:12 +00:00
rocky
afffc36023 *** empty log message *** 2005-07-15 21:39:12 +00:00
rocky
92ccebfbc8 "Port" device.c into C++. 2005-07-15 21:38:57 +00:00
rocky
3e84283fa8 Don't rely on compatability with 0.72. Use new type names. 2005-03-06 00:03:53 +00:00
rocky
6562607cf4 *** empty log message *** 2005-02-20 22:24:56 +00:00
rocky
0d607352c1 Another small change/generalization: don't limit driver to a BIN/CUE image. 2005-02-20 03:20:05 +00:00
rocky
fa0d9dfc8a Revise these for current state-of-the-art use and show off libiso9660
library with more compitency.

We now allow one to specify the CUE file as well as file to extract.
2005-02-20 03:15:42 +00:00
rocky
59865cec72 Move C++ files to C++ directory. Add mmc{1,2} checking to list of C++
programs compiled.
2005-02-19 11:42:18 +00:00