2 * Copyright 2004-2008, François Revol, <revol@free.fr>.
3 * Distributed under the terms of the MIT License.
12 #include "CamDevice.h"
14 class WebCamMediaAddOn
;
17 class CamRoster
: public BUSBRoster
{
19 CamRoster(WebCamMediaAddOn
* _addon
);
21 virtual status_t
DeviceAdded(BUSBDevice
* _device
);
22 virtual void DeviceRemoved(BUSBDevice
* _device
);
24 uint32
CountCameras();
27 // those must be called with Lock()
28 CamDevice
* CameraAt(int32 index
);
33 status_t
LoadInternalAddons();
34 status_t
LoadExternalAddons();
37 WebCamMediaAddOn
* fAddon
;