posmsgpluginreferenceimpl/inc/epos_comasuplposhandler.h
changeset 0 0ce1b5ce9557
equal deleted inserted replaced
-1:000000000000 0:0ce1b5ce9557
       
     1 /*
       
     2 * Copyright (c)  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 COMASuplPosHandlerBase
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef C_COMASUPLPOSHANDLER_H
       
    20 #define C_COMASUPLPOSHANDLER_H
       
    21 
       
    22 
       
    23 #include <lbs/epos_comasuplposhandlerbase.h>
       
    24 
       
    25 
       
    26 // Forward Declaration
       
    27 class COMASuplPosSession;
       
    28 
       
    29 /**
       
    30 * Reference implementation of COMASuplPosHandlerBase
       
    31 *  @since Series 60 3.1u
       
    32 */
       
    33 class COMASuplPosHandler : public COMASuplPosHandlerBase
       
    34     {
       
    35     
       
    36     public:  // Constructors and destructor
       
    37             
       
    38         /**
       
    39          * Factory function that instantiates a new object of COMASuplPosHandler
       
    40          *
       
    41          * @since S60 v3.0
       
    42          */
       
    43         static COMASuplPosHandlerBase* NewL();
       
    44         
       
    45         /**
       
    46          * Destructor
       
    47          *
       
    48          * @since S60 v3.0
       
    49          */
       
    50         ~COMASuplPosHandler();        
       
    51         
       
    52     public: // New functions
       
    53 
       
    54         /**
       
    55          * From COMASuplPosHandlerBase
       
    56          * Initializes the instance of COMASuplPosHandler
       
    57          * @since S60 v3.1u
       
    58          */
       
    59         void InitializeL( TRequestStatus &aStatus );
       
    60         
       
    61         /**
       
    62          * From COMASuplPosHandlerBase
       
    63          * Cancels an outstanding request to initialize
       
    64          * @since S60 v3.1u
       
    65          */
       
    66         void CancelInitialize();
       
    67         
       
    68         /**
       
    69          * From COMASuplPosHandlerBase
       
    70          * Factory function to create a new instance of COMASuplPosSession
       
    71          * @since S60 v3.1u
       
    72          */
       
    73         COMASuplPosSessionBase* CreateNewSessionL( 
       
    74                                         MOMASuplObserver *aSuplObserver );
       
    75         
       
    76     private:
       
    77     
       
    78         /**
       
    79          * Constructor
       
    80          *
       
    81          * @since S60 v3.1u
       
    82          */
       
    83         COMASuplPosHandler();
       
    84         
       
    85     };
       
    86 
       
    87 
       
    88 #endif // C_COMASUPLPOSHANDLER_H