1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/dom/camera/FallbackCameraManager.cpp Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,32 @@ 1.4 +/* This Source Code Form is subject to the terms of the Mozilla Public 1.5 + * License, v. 2.0. If a copy of the MPL was not distributed with this file, 1.6 + * You can obtain one at http://mozilla.org/MPL/2.0/. */ 1.7 + 1.8 +#include "ICameraControl.h" 1.9 + 1.10 +using namespace mozilla; 1.11 + 1.12 +// From ICameraControl. 1.13 +nsresult 1.14 +ICameraControl::GetNumberOfCameras(int32_t& aDeviceCount) 1.15 +{ 1.16 + return NS_ERROR_NOT_IMPLEMENTED; 1.17 +}; 1.18 + 1.19 +nsresult 1.20 +ICameraControl::GetCameraName(uint32_t aDeviceNum, nsCString& aDeviceName) 1.21 +{ 1.22 + return NS_ERROR_NOT_IMPLEMENTED; 1.23 +} 1.24 + 1.25 +nsresult 1.26 +ICameraControl::GetListOfCameras(nsTArray<nsString>& aList) 1.27 +{ 1.28 + return NS_ERROR_NOT_IMPLEMENTED; 1.29 +} 1.30 + 1.31 +already_AddRefed<ICameraControl> 1.32 +ICameraControl::Create(uint32_t aCameraId) 1.33 +{ 1.34 + return nullptr; 1.35 +}