omasuplasnconverterstubimpl/src/cstubsuplresponse.cpp
branchRCL_3
changeset 44 b5894bb67e73
parent 35 37b610eb7fe3
equal deleted inserted replaced
35:37b610eb7fe3 44:b5894bb67e73
     1 /*
       
     2 * Copyright (c) 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:Supl Response
       
    15 *
       
    16 */
       
    17 
       
    18 #include <e32base.h>
       
    19 #include <e32def.h> 
       
    20 #include <e32cmn.h> 
       
    21 #include "epos_comasuplasnbase.h"
       
    22 #include "epos_comasuplasnmessagebase.h"
       
    23 #include "epos_comasuplresponse.h"
       
    24 #include "cstubsuplresponse.h"
       
    25 
       
    26 // -----------------------------------------------------------------------------
       
    27 // CStubSuplResponse::NewL
       
    28 // Other Items were commented in a header
       
    29 // -----------------------------------------------------------------------------
       
    30 //
       
    31 EXPORT_C CStubSuplResponse* CStubSuplResponse::NewL()
       
    32     {
       
    33     CStubSuplResponse* self = new (ELeave) CStubSuplResponse;
       
    34     CleanupStack::PushL(self);
       
    35     self->ConstructL();
       
    36     CleanupStack::Pop();
       
    37     return self;
       
    38     }
       
    39 // -----------------------------------------------------------------------------
       
    40 // CStubSuplResponse::~CStubSuplResponse
       
    41 // Other Items were commented in a header
       
    42 // -----------------------------------------------------------------------------
       
    43 //
       
    44 EXPORT_C CStubSuplResponse::~CStubSuplResponse()
       
    45     {
       
    46     
       
    47     }
       
    48 // -----------------------------------------------------------------------------
       
    49 // CStubSuplResponse::ConstructL
       
    50 // Other Items were commented in a header
       
    51 // -----------------------------------------------------------------------------
       
    52 //
       
    53 void CStubSuplResponse::ConstructL()
       
    54     {
       
    55     COMASuplResponse::ConstructL();
       
    56     //Allocate memory for internal usage....
       
    57     }
       
    58 // -----------------------------------------------------------------------------
       
    59 // CStubSuplResponse::EncodeL
       
    60 // Other Items were commented in a header
       
    61 // -----------------------------------------------------------------------------
       
    62 //
       
    63 HBufC8* CStubSuplResponse::EncodeL(TInt& aErrorCode)
       
    64     {
       
    65     aErrorCode = KErrNotSupported;
       
    66     //Encoding of SuplResponse is not done on SET side...
       
    67     return NULL;
       
    68     }
       
    69 // -----------------------------------------------------------------------------
       
    70 // CStubSuplResponse::CStubSuplResponse
       
    71 // Other Items were commented in a header
       
    72 // -----------------------------------------------------------------------------
       
    73 //
       
    74 CStubSuplResponse::CStubSuplResponse()
       
    75     {
       
    76     }