libcdorganizer: plugin development


Developing plugins for libcdorganizer is a relatively simple process, once you know how your device operates. In this case, all you need to do is sub-class cdorganizer.h to handle your specific needs.

If your device is capable of doing more than what the library handles, make it known at the "feature requests" portion of the sourceforge project page. This will cause the base class to be updated with some default implementation for those devices that don't support this option.

If your device operates in a fundamentally different way than other devices, again, mention it under the feature requests. We'll go back and forth and iron out an interface that is compatible to all devices.

Minimum Implementation

At a minimum, an organizer plugin will need to implement the following functions:

Also, at the moment, it will also be necessary to update cdorganizerFactory.cpp (specifically, the createCdorganizer() function) to detect your device.