diff -r 35488577e233 -r 2fa1fa551b0b telutils/phoneparser/inc/CPhoneGsmEmergencyNumberParser.h --- a/telutils/phoneparser/inc/CPhoneGsmEmergencyNumberParser.h Mon Aug 23 15:50:31 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,95 +0,0 @@ -/* -* Copyright (c) 2008-2009 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: It is parser for emergency numbers. -* -*/ - - -#ifndef CPHONEGSMEMERGENCYNUMBERPARSER_H -#define CPHONEGSMEMERGENCYNUMBERPARSER_H - -// INCLUDES -#include "cphonegsmparserbase.h" -#include - -// FORWARD DECLARATIONS -class CPhoneGsmOptionContainer; - -// CONSTANTS - -/* -* EMERGENCY NUMBER UIDS -*/ -const TUint32 KPhoneUidEmergencyNumber = - PHONE_MAKE_UID( KPhoneGsmUidDialEmergencyNumber, 0 ); - -// CLASS DECLARATION - -/** -* It is parser for emergency numbers. -* -* @since S60 5.0 -* @lib phoneparser.lib -*/ -NONSHARABLE_CLASS( CPhoneGsmEmergencyNumberParser ) - : public CPhoneGsmParserBase - { - public: // Constructors and destructor - - /** - * Two-phased constructor. - */ - static CPhoneGsmEmergencyNumberParser* NewLC(); - - public: // Functions from base classes - - /** - * From CPhoneGsmParserBase. - * Parse string. - * - * @param aString It is string to be parsed. - * @param aResult It will contain result. - * @param aOptions It indicates operation options. - * @return It returns boolean value indicating success of parsing. - */ - TBool ParseL( - const TDesC& aString, - CPhoneGsmParserResult& aResult, - CPhoneGsmOptionContainerBase& aOptions ); - - private: - - /** - * C++ default constructor. - */ - CPhoneGsmEmergencyNumberParser(); - - /** - * Parse. - */ - TBool DoParseL( - const TDesC& aString, - CPhoneGsmParserResult& aResult, - CPhoneGsmOptionContainer& aOptions ); - - private: // Data - - // Emergency number. - TPhCltTelephoneNumber iEmergencyPhoneNumber; - - }; - -#endif // CPHONEGSMEMERGENCYNUMBERPARSER_H - -// End of File