phoneapp/phoneuicontrol/inc/mphonesecuritymessagehandler.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Thu, 19 Aug 2010 09:54:27 +0300
branchRCL_3
changeset 23 40a3f856b14d
parent 6 38529f706030
permissions -rw-r--r--
Revision: 201031 Kit: 201033

/*
* Copyright (c) 2010-2010 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:
*     A dynamic state class for security mode.
*
*/

#ifndef MPHONESECURITYMESSAGEHANDLER_H
#define MPHONESECURITYMESSAGEHANDLER_H

class TUid;

class MPhoneSecurityMessageHandler
	{
	public:
	/**
	 * Handles phone engine message. Dynamic state object listens phone engine
	 * message to determinate sim states.
	 * 
	 * @param aMessage Message enumeration.
	 * @param aCallId Call identifier.
	 */
	virtual void HandlePhoneEngineMessageL( const TInt aMessage, TInt aCallId ) = 0;
	
	/**
	 * Handle property change. Dynamic state object listens P&S key changes
	 * to determinate autolock and sim security states.
	 * 
	 * @param aCategory Unique identifer category reference.
	 * @param aKey Key as unsigned integer.
	 * @param aValue Key value as integer.
	 */
	virtual void HandlePropertyChangedL(const TUid& aCategory,
	     const TUint aKey,
	     const TInt aValue ) = 0;
	};

#endif