diff -r ebdbd102c78a -r 2eacb6118286 phoneengine/phonemodel/inc/cpeprofilesettingmonitor.h --- a/phoneengine/phonemodel/inc/cpeprofilesettingmonitor.h Fri May 14 15:51:57 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,67 +0,0 @@ -/* -* Copyright (c) 2005 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: This file contains the header file of the CPEProfileSettingMonitor -* class -* -*/ - - -#ifndef CPEPROFILESETTINGMONITOR_H -#define CPEPROFILESETTINGMONITOR_H - -// INCLUDE FILES -#include - -// Profiles headers -#include -#include -#include -#include -#include -#include -#include -#include - -// FORWARD DECLARATIONS -class MPEPhoneModelInternal; - -// CLASS DECLARATION - -/** -* CPEProfileSettingMonitor -* Used to retrieve profiles settings and provide callback to profiles engine -* for notification of changes to profiles -* -* @lib Phoneenginebase.lib -* @since Series60_4.0 -*/ -NONSHARABLE_CLASS( CPEProfileSettingMonitor ) : public CBase, public MProfileChangeObserver -{ -public: - static CPEProfileSettingMonitor* NewL( MPEPhoneModelInternal& aModel ); - ~CPEProfileSettingMonitor(); -public: // From MProfileChangeObserver - virtual void HandleActiveProfileEventL( TProfileEvent aProfileEvent, TInt aProfileId ); -protected: - CPEProfileSettingMonitor( MPEPhoneModelInternal& aModel ); - void ConstructL(); - void GetProfileSettingsL(); -private: // Not owned by this object - MPEPhoneModelInternal& iModel; -private: // Owned by this object - MProfileEngine* iProfileEngine; - CProfileChangeNotifyHandler* iProfileEventHandler; -}; - -#endif // CPEPROFILESETTINGMONITOR_H