coreapplicationuis/ATCmdPlugin/src/atcmd.cpp
changeset 21 c4cbaa4fb734
equal deleted inserted replaced
0:2e3d3ce01487 21:c4cbaa4fb734
       
     1 
       
     2 /*
       
     3  * Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     4  * All rights reserved.
       
     5  * This component and the accompanying materials are made available
       
     6  * under the terms of "Eclipse Public License v1.0"
       
     7  * which accompanies this distribution, and is available
       
     8  * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     9  * Initial Contributors:
       
    10  * Nokia Corporation - initial contribution.
       
    11  *
       
    12  * Contributors:
       
    13  * Description :
       
    14  *
       
    15  */
       
    16 
       
    17 
       
    18 
       
    19 // INCLUDES
       
    20 #include "debug.h"
       
    21 #include "atcmd.h"
       
    22 
       
    23 // CONSTANTS
       
    24 
       
    25 // ============================= LOCAL FUNCTIONS  =============================
       
    26 
       
    27 // ============================= MEMBER FUNCTIONS =============================
       
    28 
       
    29 CATCmdTranslation::CATCmdTranslation( HBufC8& aParam, const TInt aCode )
       
    30     : iParam( &aParam ),
       
    31       iCode( aCode )
       
    32     {
       
    33     }
       
    34 
       
    35 CATCmdTranslation::~CATCmdTranslation()
       
    36     {
       
    37     delete iParam;
       
    38     }
       
    39 
       
    40 TInt CATCmdTranslation::Code() const
       
    41     {
       
    42     return iCode;
       
    43     }
       
    44 
       
    45 TPtrC8 CATCmdTranslation::Param() const
       
    46     {
       
    47     return iParam->Des();
       
    48     }
       
    49 
       
    50 //  End of File