telutils/phoneparser/src/CPhoneGsmManufacturerHandler.cpp
changeset 46 2fa1fa551b0b
parent 42 35488577e233
child 48 78df25012fda
equal deleted inserted replaced
42:35488577e233 46:2fa1fa551b0b
     1 /*
       
     2 * Copyright (c) 2002 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:  Implementation of manufacturer handler.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 // INCLUDE FILES
       
    20 #include    "cphonegsmmanufacturerhandler.h" 
       
    21 #include    "cphonegsmmanufacturerparser.h" 
       
    22 #include    "cphonegsmparserresult.h" 
       
    23 
       
    24 // ============================ MEMBER FUNCTIONS ===============================
       
    25 
       
    26 // -----------------------------------------------------------------------------
       
    27 // CPhoneGsmManufacturerHandler::ProcessL
       
    28 // -----------------------------------------------------------------------------
       
    29 //
       
    30 EXPORT_C void CPhoneGsmManufacturerHandler::ProcessL( 
       
    31         CPhoneGsmParserResult& aResult )
       
    32     {
       
    33     if ( aResult.Uid() == KPhoneUidManufacturerCode )
       
    34         {
       
    35         ProcessCommandL( aResult.AuxInformation() );
       
    36         }
       
    37 #ifdef PHONEPARSER_PARSE_DEBUG_CODE
       
    38     else if ( aResult.Uid() == KPhoneUidManufacturerDebugCode )
       
    39         {
       
    40         ProcessDebugL( aResult.ParameterAt( 0 ) ); // The first parameter is code.
       
    41         }
       
    42 #endif
       
    43     }
       
    44     
       
    45 //  End of File