#include <list>
#include <string>
+#include <boost/shared_ptr.hpp>
#include "ftdi.h"
namespace Ftdi
private:
class Private;
- Private *d;
-
- /* Disable copy constructor */
- Context(const Context &) {}
- Context& operator=(const Context &) {}
+ boost::shared_ptr<Private> d;
};
/*! \brief Device EEPROM.
private:
class Private;
- Private *d;
+ boost::shared_ptr<Private> d;
};
-typedef std::list<Context*> ListBase;
+typedef std::list<Context> ListBase;
/*! \brief Device list.
*/
private:
class Private;
- Private *d;
+ boost::shared_ptr<Private> d;
};
}