telutils/phoneparser/inc/CPhoneGsmDummyParser.h
changeset 0 ff3b6d0fd310
child 12 ae8abd0db65c
equal deleted inserted replaced
-1:000000000000 0:ff3b6d0fd310
       
     1 /*
       
     2 * Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  It is a parser that parses nothing.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef CPHONEGSMDUMMYPARSER_H
       
    20 #define CPHONEGSMDUMMYPARSER_H
       
    21 
       
    22 // INCLUDES
       
    23 #include    "CPhoneGsmParserBase.h"
       
    24 
       
    25 // CLASS DECLARATION
       
    26 
       
    27 /**
       
    28 * It is a parser that parses nothing.
       
    29 *
       
    30 * @since 1.0
       
    31 * @lib phoneparser.lib
       
    32 */
       
    33 NONSHARABLE_CLASS( CPhoneGsmDummyParser )
       
    34     : public CPhoneGsmParserBase
       
    35     {
       
    36     public:  // Constructors and destructor      
       
    37         
       
    38         /**
       
    39         * Two-phased constructor.
       
    40         */
       
    41         static CPhoneGsmDummyParser* NewL();
       
    42 
       
    43     public: // Functions from base classes
       
    44 
       
    45         /**
       
    46         * From CPhoneGsmParserBase, parse string.
       
    47         *
       
    48         * @param aString It is string to be parsed.
       
    49         * @param aResult It will contain result.
       
    50         * @param aOptions It contains all options related to parsing.
       
    51         * @return It returns boolean value indicating success of parsing.
       
    52         */
       
    53         TBool ParseL( 
       
    54             const TDesC& aString,
       
    55             CPhoneGsmParserResult& aResult,
       
    56             CPhoneGsmOptionContainerBase& aOptions );
       
    57             
       
    58     private:
       
    59 
       
    60         /**
       
    61         * C++ constructor.
       
    62         */
       
    63         CPhoneGsmDummyParser();
       
    64 
       
    65     };
       
    66 
       
    67 #endif      // CPHONEGSMDUMMYPARSER_H
       
    68             
       
    69 // End of File