diff -r 7d48bed6ce0c -r 987c9837762f telutils/phoneparser/inc/CPhoneGsmImeiParser.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/telutils/phoneparser/inc/CPhoneGsmImeiParser.h Wed Sep 01 12:15:03 2010 +0100 @@ -0,0 +1,72 @@ +/* +* 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 Imei string. +* +*/ + + +#ifndef CPHONEGSMIMEIPARSER_H_ +#define CPHONEGSMIMEIPARSER_H_ + +// INCLUDES +#include "CPhoneGsmParserBase.h" + +// CONSTANTS + + +// CLASS DECLARATION + +/** +* It is parser for IMEI string. +* +* @since 1.0 +* @lib phoneparser.lib +*/ +NONSHARABLE_CLASS( CPhoneGsmImeiParser ) + : public CPhoneGsmParserBase + { + public: // Constructors and destructor + + /** + * Two-phased constructor. + */ + static CPhoneGsmImeiParser* NewLC(); + + public: // Functions from base classes + + /** + * From CPhoneGsmParserBase, parses string. + * + * @param aString string to be parsed. + * @param aResult It will contain result. + * @param aOptions It contains all options related to parsing. + * @return It returns boolean value indicating success of parsing. + */ + TBool ParseL( + const TDesC& aString, + CPhoneGsmParserResult& aResult, + CPhoneGsmOptionContainerBase& aOptions ); + + private: + + /** + * C++ default constructor. + */ + CPhoneGsmImeiParser(); + + }; + +#endif /*CPHONEGSMIMEIPARSER_H_*/ + +// End of File