Add a name to UVC cams.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31624 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -313,6 +313,14 @@ UVCCamDeviceAddon::~UVCCamDeviceAddon()
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
const char *
|
||||||
|
UVCCamDeviceAddon::BrandName()
|
||||||
|
{
|
||||||
|
return "USB Video Class";
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
UVCCamDevice *
|
UVCCamDevice *
|
||||||
UVCCamDeviceAddon::Instantiate(CamRoster &roster, BUSBDevice *from)
|
UVCCamDeviceAddon::Instantiate(CamRoster &roster, BUSBDevice *from)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -28,6 +28,7 @@ class UVCCamDeviceAddon : public CamDeviceAddon
|
|||||||
UVCCamDeviceAddon(WebCamMediaAddOn* webcam);
|
UVCCamDeviceAddon(WebCamMediaAddOn* webcam);
|
||||||
virtual ~UVCCamDeviceAddon();
|
virtual ~UVCCamDeviceAddon();
|
||||||
|
|
||||||
|
virtual const char *BrandName();
|
||||||
virtual UVCCamDevice *Instantiate(CamRoster &roster, BUSBDevice *from);
|
virtual UVCCamDevice *Instantiate(CamRoster &roster, BUSBDevice *from);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user