mmsengine/mmssettings/inc/mmmssettingsobserver.h
changeset 80 8b14b30db193
parent 0 72b543305e3a
equal deleted inserted replaced
79:2981cb3aa489 80:8b14b30db193
       
     1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 #ifndef __MMMSSETTINGSOBSERVER_H__
       
    17 #define __MMMSSETTINGSOBSERVER_H__
       
    18 
       
    19 
       
    20 #include <e32base.h>
       
    21 
       
    22 
       
    23 
       
    24 /** 
       
    25 Provides the interface for notification of changes that occur in the Central Repository. 
       
    26 
       
    27 @see CMmsAccounts::AddObserverL()
       
    28 @see CMmsAccounts::RemoveObserver() 
       
    29 
       
    30 @publishedAll
       
    31 @released
       
    32 */
       
    33 class MMmsSettingsObserver
       
    34  	{
       
    35 public:
       
    36 	/** 
       
    37 	Settings event.
       
    38 	*/
       
    39     enum TMmsSettingsEvent 
       
    40   		{ 
       
    41  		/** 
       
    42 		Settings have been updated.
       
    43 		*/ 		
       
    44        	ESettingsUpdated     
       
    45        	};
       
    46 public: 
       
    47 	/** 
       
    48 	Indicates that a settings event has occurred. 
       
    49 	
       
    50 	@param	aEvent
       
    51 	The Settings Event
       
    52 	*/
       
    53   	virtual void HandleNotify(TMmsSettingsEvent aEvent) = 0;
       
    54    	};
       
    55           
       
    56 #endif // __MMMSSETTINGSOBSERVER_H__