Site by Graham Wharton November 21st 2008 05:38:30 PM
extern "C" void getSupportedCameras(vector<string> &);
This function must be implemented in the plugin. This function accepts a Standard Template Library vector of strings which you should add to, the names of the cameras which this plugin will support.
void getSupportedCameras(vector<string> & listofcams) { listofcams.push_back("Camera 1"); listofcams.push_back("Camera 2"); }