uifw/AvKon/inc/aknsignaldataobserver.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 31 Aug 2010 15:28:30 +0300
branchRCL_3
changeset 19 aecbbf00d063
parent 0 2f259fa3e83a
permissions -rw-r--r--
Revision: 201033 Kit: 201035

/*
* Copyright (c) 2006-2006 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:  Updates the signal level control in status pane. 
*
*/


#ifndef C_AKNSTATUSPANESIGNALOBSERVER_H
#define C_AKNSTATUSPANESIGNALOBSERVER_H

#include <bacntf.h>
#include <coecntrl.h>
#include <AknControl.h>
#include "aknstatuspanedata.h"
#include "aknstatuspanedataobserver.h"

class CBase;
class CAknSignalPane;
class CAknStatusPaneDataSubscriber;

/**
* This internal Avkon class updates the signal level control in status pane.
*
* @since S60 3.2
* @lib Avkon
* 
*/
NONSHARABLE_CLASS(CAknSignalDataObserver) : public CBase, public MAknStatusPaneDataObserver
	{

public:

    /**
    * Standard constructor
    */
    CAknSignalDataObserver(CAknSignalPane* aSignalPane);
    
    /**
    * Destructor
    */
    ~CAknSignalDataObserver();

    /**
    * From MAknStatusPaneDataObserver
    */
	void HandleUpdateL(const TAknStatusPaneStateData& aData);
	        
private:

	  // Not owned. Pointer to Signal pane. 
    CAknSignalPane* iSignalPane;
    
    // Not owned. Pointer to data subscriber.
    CAknStatusPaneDataSubscriber*  iDataSubscriber;
    };

#endif // AKNSTATUSPANESIGNALOBSERVER