satengine/SatServer/Engine/inc/CSatSSubSession.h
author Pat Downey <patd@symbian.org>
Wed, 01 Sep 2010 12:15:03 +0100
branchRCL_3
changeset 20 987c9837762f
parent 0 ff3b6d0fd310
permissions -rw-r--r--
Revert incorrect RCL_3 drop: Revision: 201033 Kit: 201035

/*
* Copyright (c) 2004-2005 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:
*
* Description:  Base class for sub-sessions
*
*/



#ifndef CSATSSUBSESSION_H
#define CSATSSUBSESSION_H

//  INCLUDES
#include <e32base.h>

// FORWARD DECLARAITION
class CSatSSession;
class CSatSServer;
// CLASS DECLARATION

/**
*  Base class for sub-sessions.
*
*  @lib SatEngine.lib
*  @since 2.6
*/
class CSatSSubSession : public CObject
    {
    public:  // Constructors and destructor

        /**
        * Destructor.
        */
        virtual ~CSatSSubSession();

    public: // New functions

        /**
        * Handles the subsession functions. The opening and closing of
        * sub-session is handled by CSatSSession, so this method is not
        * called in opening or in closing of sub-session.
        * @param aMessage IPC message from client.
        */
        virtual void HandleCommandL( const RMessage2& aMessage ) = 0;

    protected:

        /**
        * C++ default constructor.
        */
        CSatSSubSession( CSatSSession& aSession );

    protected: // Data
        // Session class
        CSatSSession& iSession;

    };

#endif      // CSATSSUBSESSION_H

// End of File