satengine/SatServer/Engine/inc/MSatSSessions.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 31 Aug 2010 15:45:17 +0300
branchRCL_3
changeset 43 7d48bed6ce0c
parent 0 ff3b6d0fd310
permissions -rw-r--r--
Revision: 201033 Kit: 201035

/*
* Copyright (c) 2002-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:  Accessors for different kind of sessions in SatServer
*
*/



#ifndef MSATSSESSIONS_H
#define MSATSSESSIONS_H

//  INCLUDES
#include <e32std.h>
#include "MSatRefreshSubSession.h"

// FORWARD DECLARATION
class MSatUiSession;

// CLASS DECLARATION

/**
*  Accessors for SatServer sessions.
*
*  @lib SatServer
*  @since Series 60 3.0
*/
class MSatSSessions
    {
    protected:  // Constructors and destructor

        /**
        * C++ default constructor.
        */
        MSatSSessions() {};

        /**
        * Destructor.
        */
        virtual ~MSatSSessions() {};

    public: // New functions

        /**
        * Gives ui session interface. May be NULL.
        * @return Interface for ui session
        */
        virtual MSatUiSession* UiSession() = 0;

        /**
        * Gives all refresh sub sessions.
        * @return Pointer array of MSatRefreshSubSessions
        */
        virtual const RPointerArray<MSatRefreshSubSession>&
            RefreshSubSessions() = 0;

    private:

        // Prohibit copy constructor if not deriving from CBase.
        MSatSSessions( const MSatSSessions& );

        // Prohibit assigment operator if not deriving from CBase.
        MSatSSessions& operator=( const MSatSSessions& );

    };

#endif      // MSATSSESSIONS_H

// End of File