diff -r 7d48bed6ce0c -r 987c9837762f cbs/cbsui/inc/ccbsuisettingsmonitor.h --- a/cbs/cbsui/inc/ccbsuisettingsmonitor.h Tue Aug 31 15:45:17 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,106 +0,0 @@ -/* -* Copyright (c) 2010 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: -* -*/ - - -#ifndef CCBSUISETTINGSMONITOR_H -#define CCBSUISETTINGSMONITOR_H - -// INCLUDES -#include -#include - -// FORWARD DECLARATIONS -class MCbs; -class CCbsUiappAppUi; -class MCbsUiSettingsObserver; - -// CLASS DEFINITIONS - - -/** -* Server notifies this class if settings are changed. -* -*/ -class CCbsUiSettingsMonitor : public CActive - { - public: // New functions - /** - * Create an instance of the class. - * - * @param aServer cbs server - * @param aObserver settings observer - */ - static CCbsUiSettingsMonitor* NewL( - MCbs& aServer , MCbsUiSettingsObserver& aObserver ); - - /** - * Destructor. - */ - ~CCbsUiSettingsMonitor(); - - public: // From CActive - - /** - * It is called when server notifies. - */ - void RunL(); - - /** - * Cancels the request. - */ - void DoCancel(); - - private: // New functions - - /** - * Issues the request.. - */ - void IssueRequest(); - - private: - - /** - * Constructor. - * - * @param aServer cbs server - */ - CCbsUiSettingsMonitor( - MCbs& aServer, MCbsUiSettingsObserver& aObserver ); - - /** - * Finalizes the construction. - */ - void ConstructL(); - - private: // Data - - // ETrue if request is continued. - TBool iContinue; - - // Server subsession for settings - MCbs& iServer; - - // Event which is registered to server - TCbsSettingsEvent iEvent; - - // Observer who is interested about settings changes. - MCbsUiSettingsObserver& iObserver; - }; - -#endif // CCBSUISETTINGSMONITOR_H - -// End of File