diff -r f15ac8e65a02 -r 779871d1e4f4 vtuis/lcvtplugin/inc/control/tlcvtcamerahandler.h --- a/vtuis/lcvtplugin/inc/control/tlcvtcamerahandler.h Tue Aug 31 15:16:10 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,89 +0,0 @@ -/* -* Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). -* All rights reserved. -* This component and the accompanying materials are made available -* under the terms of "Eclipse Public License v1.0" -* which accompanies this distribution, and is available -* at the URL "http://www.eclipse.org/legal/epl-v10.html". -* -* Initial Contributors: -* Nokia Corporation - initial contribution. -* -* Contributors: -* -* Description: LiveComm Videotelephony's Camera Handler -* -*/ - -#ifndef LCVTCAMERAHANDLER_H -#define LCVTCAMERAHANDLER_H - -#include -#include -#include - -class CLcVtSession; - -class TVtCameraHandler : - public MLcCameraControl, - public MLcBrightnessControl, - public MLcZoomControl - { - public: // From MLcCameraControl - - TInt LcCameraCountL(); - - TInt CurrentLcCameraIndex(); - - void ToggleLcCameraL(); - - public: // From MLcBrightnessControl - - TInt MinLcBrightnessL(); - - TInt MaxLcBrightnessL(); - - TInt LcBrightnessL(); - - void SetLcBrightnessL( TInt aValue ); - - void IncreaseLcBrightnessL(); - - void DecreaseLcBrightnessL(); - - public: // From MLcZoomControl - - TInt MinLcZoomL(); - - TInt MaxLcZoomL(); - - TInt LcZoomValueL(); - - void SetLcZoomValueL( TInt aValue ); - - void LcZoomInL(); - - void LcZoomOutL(); - - public: - - TVtCameraHandler(); - - void SetSession( CLcVtSession* aSession ); - - private: - - enum TCurrentCamera - { - ECameraNotAvailable = KErrNotFound, - EBackCamera = 0, - EFrontCamera = 1 - }; - - private: // Data - - CLcVtSession* ivtSession; // Not owned - - }; - -#endif //LCVTCAMERAHANDLER_H