telephonyserverplugins/licenseetsystub/simatk_tsy_stub/inc/SatMessaging.h
author Pat Downey <patd@symbian.org>
Wed, 01 Sep 2010 12:40:21 +0100
branchRCL_3
changeset 66 07a122eea281
parent 0 3553901f7fa8
child 24 6638e7f4bd8f
permissions -rw-r--r--
Revert incorrect RCL_3 drop: Revision: 201035 Kit: 201035

// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of "Eclipse Public License v1.0"
// which accompanies this distribution, and is available
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
//
// Initial Contributors:
// Nokia Corporation - initial contribution.
//
// Contributors:
//

#ifndef SATMESSAGING_H
#define SATMESSAGING_H

// INCLUDES
#include <e32base.h>
#include <ctsy/serviceapi/ctsysatmessagingbase.h>

// FORWARD DECLARATIONS
class CMmMessageRouter;

// CLASS DECLARATION

/**
 * Sat Messaging dummy class.
 *
 */
class CTsySatMessaging : public CTsySatMessagingBase
    {
    public:  // Constructors and destructor
        
        /**
         * Two-phased constructor.
         *            
         * @param aRouter Pointer to LTSY Message Router
         */
        IMPORT_C static CTsySatMessaging* NewL( 
            CMmMessageRouter* aRouter );

        /**
         * Destructor.
         */
        virtual ~CTsySatMessaging();
        
        /**
         * From MStkTsySatService     
         * Complete SendSmsMessage request
         *          
         * @param aError error value
         * return error value
         */
        TInt CompleteSendSmsMessage( TInt aError );
        
        /**
         * From MStkTsySatService     
         * Is the MoSmControl activated by Sim.
         *          
         * return The status of control activated
         */
        TBool IsMoSmControlBySimActivated();

        /**
         * ExtFunc
         *          
         * @param aTsyReqHandle Tsy request handle
         * @param aIpc Ipc number of request
         * @param aPackage Datapackage
         */
        virtual TInt ExtFunc( 
            const TTsyReqHandle aTsyReqHandle,
            const TInt aIpc,
            const TDataPackage& aPackage );
                    
    private:

        /**
         * C++ default constructor.
         */  
        CTsySatMessaging(
            CMmMessageRouter* aRouter );
              
        /**
         * By default Symbian 2nd phase constructor is private.
         */
        void ConstructL();
    
    private: // data
    
        /**
         * Pointer to message router object.
         */
        CMmMessageRouter* iMessageRouter;
        
    };

#endif  // SATMESSAGING_H

// End of File