satengine/SatServer/inc/MSatSUiClientHandler.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Thu, 27 May 2010 13:23:05 +0300
changeset 23 427125ac6cb8
parent 0 ff3b6d0fd310
permissions -rw-r--r--
Revision: 201019 Kit: 2010121

/*
* Copyright (c) 2002-2006 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:  MSatSUiClientHandler provides functions for some UI activity
*                like LaunchUi
*
*/



#ifndef MSATSUICLIENTHANDLER_H
#define MSATSUICLIENTHANDLER_H

//  INCLUDES
#include <e32std.h>

// FORWARD DECLARATION
class MSatUiSession;
class MSatShellController;

// CLASS DECLARATION

/**
*  Interface provides some activity conserning UI client
*
*  @lib SatEngine.lib
*  @since Series 60 3.0
*/
class MSatSUiClientHandler
    {

     protected:  // Constructors and destructor

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

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

    public: // New functions

        /**
        * Gives pointer to ui session interface. If pointer is NULL, then
        * ui session is not available.
        * @return Pointer to ui session interface.
        */
        virtual MSatUiSession* UiSession() = 0;

        /**
        * Launches the SAT UI Client.
        */
        virtual void LaunchSatUiL() = 0;

        /**
        * Tells if user has started the ui client.
        * @return ETrue if user has launched the ui client.
        */
        virtual TBool UiLaunchedByUser() = 0;

        /**
        * Gives pointer to MSatShellController.
        * @return Pointer to sat shell controller.
        */
        virtual MSatShellController& ShellController() = 0;

        /**
        * Tells is UI closing
        * @return Boolean value indicating is UI closing
        */
        virtual TBool IsUiClosing() const = 0;

    private:

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

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

#endif      // MSATSUICLIENTHANDLER_H

// End of File