securitydialogs/lockapp/inc/lockappstateobserver.h
branchRCL_3
changeset 22 03674e5abf46
parent 0 164170e6151a
equal deleted inserted replaced
21:09b1ac925e3f 22:03674e5abf46
       
     1 /*
       
     2 * Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Interface for controls that want to be informed about lock status
       
    15  *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef __LOCKAPPSTATEOBSERVER_H__
       
    20 #define __LOCKAPPSTATEOBSERVER_H__
       
    21 
       
    22 // INCLUDES
       
    23 #include <e32std.h>
       
    24 #include <e32base.h>
       
    25 #include "lockapp.hrh"
       
    26 
       
    27 /**
       
    28  *  CLockAppStateObserver class offers a lockstate observer interface. 
       
    29  *  All observer classes derived from MLockAppStateObserver should be added to 
       
    30  *  the lockapp observer list in order to get notifications about lock state changes.
       
    31  *
       
    32  *  @lib    lockapp
       
    33  *  @since  5.0
       
    34  *  @author Joona Petrell
       
    35  *  @author Tamas Koteles
       
    36  */
       
    37 class MLockAppStateObserver
       
    38 	{
       
    39 	public:
       
    40 
       
    41 		/**
       
    42 		 * Lock status changes are handled trough HandleLockStatusChangedL method.
       
    43 		 * Must be overriden by derived class for observing.
       
    44 		 */
       
    45 		virtual void HandleLockStatusChangedL( TLockStatus aLockStatus ) = 0;
       
    46 
       
    47 	};
       
    48 
       
    49 #endif // __LOCKAPPSTATEOBSERVER_H__
       
    50 // End of File