telephonyserverplugins/licenseetsystub/simatk_tsy_stub/inc/SatMessaging.h
changeset 0 3553901f7fa8
child 24 6638e7f4bd8f
equal deleted inserted replaced
-1:000000000000 0:3553901f7fa8
       
     1 // Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 
       
    14 #ifndef SATMESSAGING_H
       
    15 #define SATMESSAGING_H
       
    16 
       
    17 // INCLUDES
       
    18 #include <e32base.h>
       
    19 #include <ctsy/serviceapi/ctsysatmessagingbase.h>
       
    20 
       
    21 // FORWARD DECLARATIONS
       
    22 class CMmMessageRouter;
       
    23 
       
    24 // CLASS DECLARATION
       
    25 
       
    26 /**
       
    27  * Sat Messaging dummy class.
       
    28  *
       
    29  */
       
    30 class CTsySatMessaging : public CTsySatMessagingBase
       
    31     {
       
    32     public:  // Constructors and destructor
       
    33         
       
    34         /**
       
    35          * Two-phased constructor.
       
    36          *            
       
    37          * @param aRouter Pointer to LTSY Message Router
       
    38          */
       
    39         IMPORT_C static CTsySatMessaging* NewL( 
       
    40             CMmMessageRouter* aRouter );
       
    41 
       
    42         /**
       
    43          * Destructor.
       
    44          */
       
    45         virtual ~CTsySatMessaging();
       
    46         
       
    47         /**
       
    48          * From MStkTsySatService     
       
    49          * Complete SendSmsMessage request
       
    50          *          
       
    51          * @param aError error value
       
    52          * return error value
       
    53          */
       
    54         TInt CompleteSendSmsMessage( TInt aError );
       
    55         
       
    56         /**
       
    57          * From MStkTsySatService     
       
    58          * Is the MoSmControl activated by Sim.
       
    59          *          
       
    60          * return The status of control activated
       
    61          */
       
    62         TBool IsMoSmControlBySimActivated();
       
    63 
       
    64         /**
       
    65          * ExtFunc
       
    66          *          
       
    67          * @param aTsyReqHandle Tsy request handle
       
    68          * @param aIpc Ipc number of request
       
    69          * @param aPackage Datapackage
       
    70          */
       
    71         virtual TInt ExtFunc( 
       
    72             const TTsyReqHandle aTsyReqHandle,
       
    73             const TInt aIpc,
       
    74             const TDataPackage& aPackage );
       
    75                     
       
    76     private:
       
    77 
       
    78         /**
       
    79          * C++ default constructor.
       
    80          */  
       
    81         CTsySatMessaging(
       
    82             CMmMessageRouter* aRouter );
       
    83               
       
    84         /**
       
    85          * By default Symbian 2nd phase constructor is private.
       
    86          */
       
    87         void ConstructL();
       
    88     
       
    89     private: // data
       
    90     
       
    91         /**
       
    92          * Pointer to message router object.
       
    93          */
       
    94         CMmMessageRouter* iMessageRouter;
       
    95         
       
    96     };
       
    97 
       
    98 #endif  // SATMESSAGING_H
       
    99 
       
   100 // End of File