diff -r 35488577e233 -r 2fa1fa551b0b phoneclientserver/phoneserver/Inc/Standard/CPhSrvEmergencyNumberManager.h --- a/phoneclientserver/phoneserver/Inc/Standard/CPhSrvEmergencyNumberManager.h Mon Aug 23 15:50:31 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,86 +0,0 @@ -/* -* Copyright (c) 2002-2004 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: Retrieves and manages the emergency numbers from EnPolicy. -* -*/ - - - -#ifndef CPHSRVEMERGENCYNUMBERMANAGER_H -#define CPHSRVEMERGENCYNUMBERMANAGER_H - -// INCLUDES -#include // cbase -#include "mphsrvemergencynumbermanager.h" // interface - -// FORWARD DECLARATIONS -class MPhSrvPhoneInterface; -class CEmergencyNumberPolicy; - -// CLASS DECLARATION - -/** -* Retrieves and manages the emergency numbers from EnPolicy. -* -* @since 1.0 -*/ -class CPhSrvEmergencyNumberManager : - public CBase, - public MPhSrvEmergencyNumberManager - { - public: // Constructors and destructor - - /** - * Constructor. - * @param aPhone a reference of phone interface. - */ - CPhSrvEmergencyNumberManager( MPhSrvPhoneInterface& aPhone ); - - /** - * Destructor. - */ - ~CPhSrvEmergencyNumberManager(); - - /** - * Symbian 2nd phase constructor. - * @param aIsDosEnPolicy ETrue if Dos emergency policy is enabled. - */ - void ConstructL( TBool aIsDosEnPolicy ); - - - public: // Functions from base classes - - /** - * @see MPhSrvEmergencyNumberManager - */ - TBool EmergencyNumberManagerIsEmergencyNumberL( - TDes& aNumber, - TPhCltEmergencyNumberQueryMode aMode ); - - private: // Data - - // Contains Phoneserver phone interfaces. - MPhSrvPhoneInterface& iPhone; - - // Contains Emergency policy DLL interface. - RLibrary iEnPolicyLib; - - // Pointer to Emergency policy interface. - CEmergencyNumberPolicy* iEmergencyNumberPolicy; - - }; - -#endif // CPHSRVEMERGENCYNUMBERMANAGER_H - -// End of File