commonappservices/alarmserver/Server/Include/assrvsystemstateobserver.h
changeset 0 2e3d3ce01487
equal deleted inserted replaced
-1:000000000000 0:2e3d3ce01487
       
     1 // Copyright (c) 2008-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 __ASSRVSYSTEMSTATEOBSERVER_H__
       
    17 #define __ASSRVSYSTEMSTATEOBSERVER_H__
       
    18 
       
    19 /** The mixin observer class for system state changes. 
       
    20 */
       
    21 class MASSrvSystemStateObserver
       
    22 	{
       
    23 public:
       
    24 	
       
    25 	/** System states that the alarm server is interested in
       
    26 	*/
       
    27 	enum TState
       
    28 		{
       
    29 		/** The system is up and running in a normal state */
       
    30 		ENormal,
       
    31 		/** The system is shuting down */
       
    32 		EShutdown
       
    33 		};
       
    34 
       
    35 public:
       
    36 	virtual void MHandleSystemStateChange(TState aState) = 0;
       
    37 	};
       
    38 
       
    39 #endif