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.
This commit is contained in:
rocky
2005-11-11 12:26:57 +00:00
parent edfc03ac78
commit 91147fd391
11 changed files with 126 additions and 28 deletions

View File

@@ -1,5 +1,5 @@
/* -*- C++ -*-
$Id: cdio.hpp,v 1.1 2005/11/10 11:11:16 rocky Exp $
$Id: cdio.hpp,v 1.2 2005/11/11 12:26:57 rocky Exp $
Copyright (C) 2005 Rocky Bernstein <rocky@panix.com>
@@ -29,6 +29,10 @@
#include <cdio/cdio.h>
// Make pre- and post-increment operators for enums in libcdio where it
// makes sense.
#include <cdio++/enum.hpp>
class Cdio {
public: