mpviewplugins/mpplaybackviewplugin/inc/mplightmonitor_p.h
changeset 61 3cd404d31176
equal deleted inserted replaced
58:ed94e1e8390e 61:3cd404d31176
       
     1 /*
       
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: Light monitor for Playback - Private. 
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef MPLIGHTMONITOR_P_H
       
    19 #define MPLIGHTMONITOR_P_H
       
    20 
       
    21 #include <hwrmlight.h>
       
    22 
       
    23 class MpLightMonitor;
       
    24 
       
    25 class MpLightMonitorPrivate : public MHWRMLightObserver
       
    26 {
       
    27 public:
       
    28 
       
    29     explicit MpLightMonitorPrivate( MpLightMonitor *qq );
       
    30     void init();
       
    31     virtual ~MpLightMonitorPrivate();
       
    32 
       
    33 private:
       
    34   
       
    35     void DoInitL();
       
    36     // From MHWRMLightObserver
       
    37     virtual void LightStatusChanged( TInt aTarget, CHWRMLight::TLightStatus aStatus );
       
    38 
       
    39 private:
       
    40 
       
    41     MpLightMonitor                      *q_ptr;
       
    42     CHWRMLight::TLightStatus            iLightStatus;
       
    43     CHWRMLight                          *iLight;        //Own            
       
    44 
       
    45 };
       
    46 
       
    47 #endif  // MPLIGHTMONITOR_P_H