omasuplasnconverterstubimpl/inc/cstubsuplstart.h
changeset 0 0ce1b5ce9557
equal deleted inserted replaced
-1:000000000000 0:0ce1b5ce9557
       
     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: SuplStart
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef CSTUBSUPLSTARTIMPLE_H_
       
    20 #define CSTUBSUPLSTARTIMPLE_H_
       
    21 
       
    22 #include <e32base.h>
       
    23 #include <e32def.h> 
       
    24 #include <e32cmn.h> 
       
    25 #include "epos_comasuplasnbase.h"
       
    26 #include "epos_comasuplasnmessagebase.h"
       
    27 #include "epos_comasuplstart.h"
       
    28 #include "asnimplementationbase.h"
       
    29 
       
    30 class CStubSuplStart : public COMASuplStart
       
    31     {
       
    32 public:
       
    33     /**
       
    34      * Factory function that instantiates a new object of CStubSuplStart
       
    35      *
       
    36      */
       
    37     IMPORT_C   static CStubSuplStart* NewL();
       
    38     /**
       
    39      * Destructor
       
    40      */
       
    41     IMPORT_C ~CStubSuplStart();
       
    42     /**
       
    43      * Method for Encoding...
       
    44      */
       
    45     virtual HBufC8* EncodeL(TInt& aErrorCode);
       
    46     /**
       
    47      * initialize memory management stack 
       
    48      * allocate memory for structure 
       
    49      */
       
    50      
       
    51 private:     
       
    52     void InitializeL();
       
    53     /**
       
    54      * Initialize SetCapabilities
       
    55      */
       
    56     void InitializeSetCapabilities();
       
    57     /**
       
    58      * Initialize LocationId
       
    59      */
       
    60     void InitializeLocationId();
       
    61     /**
       
    62      * Initialize Qop
       
    63      */
       
    64     void InitializeQop();
       
    65     /**
       
    66      * Initialize ECellId
       
    67      */
       
    68     void InitializeECellId();
       
    69     /**
       
    70      * Initialize GSM ECellId
       
    71      */
       
    72     void InitializeGSMECellId();
       
    73     /**
       
    74      * Initialize WCDMA ECellId
       
    75      */
       
    76     void InitializeWCDMAECellId();
       
    77     
       
    78     TInt FillFrequencyInfo(TOMASuplFrequencyInfo& aOMASuplFrequencyInfo);
       
    79     
       
    80     TInt FillMeasuredResultsList(TOMASuplNetworkMeasureReport aNwkMeasureReport[]);
       
    81     
       
    82     TInt FillCellMeasuredResult(TOMASuplCellMeasuredResult aCellMeasuredResult[]);
       
    83     
       
    84     TInt FillModeSpecificInfo(TOMASuplCellMeasuredResult&   aCellMeasuredResult);
       
    85     
       
    86     void FillFrequencyInfoULInfo(TInt aFddUL,TInt& aRetErrorCode);
       
    87     
       
    88     void FillFrequencyInfoDT(TInt aTddDt,TInt& aRetErrorCode);
       
    89     
       
    90 private:
       
    91     /**
       
    92      * Default C++ Constructor
       
    93      */
       
    94     CStubSuplStart();
       
    95     /*
       
    96      * 2 phase construction
       
    97      */
       
    98     void ConstructL();
       
    99     };
       
   100 
       
   101 #endif /* CSTUBSUPLSTARTIMPLE_H_ */