epoc32/include/mmmssettingsobserver.h
author William Roberts <williamr@symbian.org>
Tue, 16 Mar 2010 16:12:26 +0000
branchSymbian2
changeset 2 2fe1408b6811
permissions -rw-r--r--
Final list of Symbian^2 public API header files
     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 the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.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__