1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
3 * You can obtain one at http://mozilla.org/MPL/2.0/. */
5 #include "DOMCameraManager.h"
7 #include "mozilla/ErrorResult.h"
9 using namespace mozilla
;
11 // From nsDOMCameraManager.
13 nsDOMCameraManager::GetNumberOfCameras(int32_t& aDeviceCount
)
15 return NS_ERROR_NOT_IMPLEMENTED
;
19 nsDOMCameraManager::GetCameraName(uint32_t aDeviceNum
, nsCString
& aDeviceName
)
21 return NS_ERROR_NOT_IMPLEMENTED
;
25 nsDOMCameraManager::GetListOfCameras(nsTArray
<nsString
>& aList
, ErrorResult
& aRv
)
27 aRv
.Throw(NS_ERROR_NOT_IMPLEMENTED
);