uifw/AvKon/inc/aknsignaldataobserver.h
changeset 0 2f259fa3e83a
equal deleted inserted replaced
-1:000000000000 0:2f259fa3e83a
       
     1 /*
       
     2 * Copyright (c) 2006-2006 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:  Updates the signal level control in status pane. 
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef C_AKNSTATUSPANESIGNALOBSERVER_H
       
    20 #define C_AKNSTATUSPANESIGNALOBSERVER_H
       
    21 
       
    22 #include <bacntf.h>
       
    23 #include <coecntrl.h>
       
    24 #include <AknControl.h>
       
    25 #include "aknstatuspanedata.h"
       
    26 #include "aknstatuspanedataobserver.h"
       
    27 
       
    28 class CBase;
       
    29 class CAknSignalPane;
       
    30 class CAknStatusPaneDataSubscriber;
       
    31 
       
    32 /**
       
    33 * This internal Avkon class updates the signal level control in status pane.
       
    34 *
       
    35 * @since S60 3.2
       
    36 * @lib Avkon
       
    37 * 
       
    38 */
       
    39 NONSHARABLE_CLASS(CAknSignalDataObserver) : public CBase, public MAknStatusPaneDataObserver
       
    40 	{
       
    41 
       
    42 public:
       
    43 
       
    44     /**
       
    45     * Standard constructor
       
    46     */
       
    47     CAknSignalDataObserver(CAknSignalPane* aSignalPane);
       
    48     
       
    49     /**
       
    50     * Destructor
       
    51     */
       
    52     ~CAknSignalDataObserver();
       
    53 
       
    54     /**
       
    55     * From MAknStatusPaneDataObserver
       
    56     */
       
    57 	void HandleUpdateL(const TAknStatusPaneStateData& aData);
       
    58 	        
       
    59 private:
       
    60 
       
    61 	  // Not owned. Pointer to Signal pane. 
       
    62     CAknSignalPane* iSignalPane;
       
    63     
       
    64     // Not owned. Pointer to data subscriber.
       
    65     CAknStatusPaneDataSubscriber*  iDataSubscriber;
       
    66     };
       
    67 
       
    68 #endif // AKNSTATUSPANESIGNALOBSERVER