diff -r ed94e1e8390e -r 3cd404d31176 mpviewplugins/mpplaybackviewplugin/inc/mplightmonitor_p.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mpviewplugins/mpplaybackviewplugin/inc/mplightmonitor_p.h Mon Oct 04 00:14:19 2010 +0300 @@ -0,0 +1,47 @@ +/* +* Copyright (c) 2009 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: Light monitor for Playback - Private. +* +*/ + +#ifndef MPLIGHTMONITOR_P_H +#define MPLIGHTMONITOR_P_H + +#include + +class MpLightMonitor; + +class MpLightMonitorPrivate : public MHWRMLightObserver +{ +public: + + explicit MpLightMonitorPrivate( MpLightMonitor *qq ); + void init(); + virtual ~MpLightMonitorPrivate(); + +private: + + void DoInitL(); + // From MHWRMLightObserver + virtual void LightStatusChanged( TInt aTarget, CHWRMLight::TLightStatus aStatus ); + +private: + + MpLightMonitor *q_ptr; + CHWRMLight::TLightStatus iLightStatus; + CHWRMLight *iLight; //Own + +}; + +#endif // MPLIGHTMONITOR_P_H