diff -r 000000000000 -r ff3b6d0fd310 telutils/phoneparser/inc/CPhoneGsmDummyParser.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/telutils/phoneparser/inc/CPhoneGsmDummyParser.h Tue Feb 02 01:11:09 2010 +0200 @@ -0,0 +1,69 @@ +/* +* Copyright (c) 2002-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 a parser that parses nothing. +* +*/ + + +#ifndef CPHONEGSMDUMMYPARSER_H +#define CPHONEGSMDUMMYPARSER_H + +// INCLUDES +#include "CPhoneGsmParserBase.h" + +// CLASS DECLARATION + +/** +* It is a parser that parses nothing. +* +* @since 1.0 +* @lib phoneparser.lib +*/ +NONSHARABLE_CLASS( CPhoneGsmDummyParser ) + : public CPhoneGsmParserBase + { + public: // Constructors and destructor + + /** + * Two-phased constructor. + */ + static CPhoneGsmDummyParser* NewL(); + + 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 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++ constructor. + */ + CPhoneGsmDummyParser(); + + }; + +#endif // CPHONEGSMDUMMYPARSER_H + +// End of File