diff -r 0818dd463d41 -r 924385140d98 coreapplicationuis/SysAp/Src/CenRepObservers/sysapcenrepfmtxobserver.h --- a/coreapplicationuis/SysAp/Src/CenRepObservers/sysapcenrepfmtxobserver.h Thu Aug 19 10:05:08 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,124 +0,0 @@ -/* -* Copyright (c) 2007 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: CSysApCenRepFmTxObserver class definition. -* -*/ - - -#ifndef SYSAPCENREPFMTXOBSERVER_H -#define SYSAPCENREPFMTXOBSERVER_H - -// INCLUDES -#include -#include - - -// FORWARD DECLARATIONS -class CRepository; -class CSysApAppUi; - -// CLASS DECLARATION - -/** -* CSysApCenRepFmTxObserver -* -* Observer class for FM TX related Central Repository keys. -* -* @lib None. -* @since 3.2 -*/ - -class CSysApCenRepFmTxObserver : public CBase, public MCenRepNotifyHandlerCallback - { - public: // Constructors and destructor - /** - * Symbian two-phased constructor. - */ - static CSysApCenRepFmTxObserver* NewL( CSysApAppUi& aSysApAppUi ); - - /** - * Destructor. - */ - virtual ~CSysApCenRepFmTxObserver(); - - private: - - /** - * Symbian 2nd-phase constructor. - * @param None - * @return void - */ - void ConstructL( ); - - /** - * Constructor - * @param CSysApAppUi& aSysApAppUi - * @return void - */ - CSysApCenRepFmTxObserver( CSysApAppUi& aSysApAppUi ); - - /** - * C++ default constructor. - * @param None - * @return void - */ - CSysApCenRepFmTxObserver(); - - public: // From MCenRepNotifyHandlerCallback - void HandleNotifyInt( TUint32 aId, TInt aNewValue ); - void HandleNotifyError( TUint32 aId, TInt error, CCenRepNotifyHandler* aHandler ); - - public: // Other functions - - /** - * Returns the current frequency - * - * @return TInt - */ - TInt Frequency() const; - - private: - // By default, prohibit copy constructor - CSysApCenRepFmTxObserver( const CSysApCenRepFmTxObserver& ); - - // Prohibit assigment operator - CSysApCenRepFmTxObserver& operator= ( const CSysApCenRepFmTxObserver& ); - - private: - /** - * SysAp application class. - */ - CSysApAppUi& iSysApAppUi; - - /** - * CenRep session for FM TX keys. - * Own. - */ - CRepository* iSession; - - /** - * Notify handler for FM TX CenRep key. - * Own. - */ - CCenRepNotifyHandler* iFmTxPowerStateHandler; - - /** - * Tuned FM TX frequency. - */ - TInt iFrequency; - }; - -#endif // SYSAPCENREPFMTXOBSERVER_H - -// End of File