vtengines/videoteleng/Inc/Base/CVtEngSATClient.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 26 Jan 2010 12:01:21 +0200
changeset 4 6dc066157ed4
parent 3 b1602a5ab0a3
child 8 07d1685f0cd4
permissions -rw-r--r--
Revision: 201001 Kit: 201004

/*
* Copyright (c) 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:  SAT listener.
*
*/



#ifndef CVTENGSATCLIENT_H
#define CVTENGSATCLIENT_H

//  INCLUDES
#include <e32base.h>
#include <e32std.h>
#include <RSatRefresh.h>
#include <rsatsession.h>


// CLASS DECLARATION

/**
*  SAT listener.
*
*  @lib videoteleng.lib
*  @since Series 60 3.0
*/
NONSHARABLE_CLASS( CVtEngSATClient ) : public CBase, MSatRefreshObserver
    {
    public:  // Constructors and destructor.
        
        /**
        * Two-phased constructor.
        * @return instance of CVtEngSATClient
        */
        static CVtEngSATClient* NewL( );
        
        /**
        * Destructor.
        */
        virtual ~CVtEngSATClient();
        
    public: // Functions from base classes

        /**
        * From MSatRefreshObserver
        */
        TBool AllowRefresh(
            TSatRefreshType aType, const TSatRefreshFiles& aFiles );
        /**
        * From MSatRefreshObserver.
        */
        void Refresh( TSatRefreshType aType, const TSatRefreshFiles& aFiles );

    private:

        /**
        * C++ default constructor.
        */
        CVtEngSATClient();

        /**
        * By default Symbian 2nd phase constructor is private.
        */
        void ConstructL( );
    
    private:    // Data
    
        // Session & Refresh for SAT listening.
        RSatSession iSatSession;
        RSatRefresh iSatRefresh;

    };

#endif      // CVTENGSATCLIENT_H
            
// End of File