vtengines/videoteleng/Inc/Base/CVtEngSATClient.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Fri, 19 Feb 2010 22:53:04 +0200
branchRCL_3
changeset 8 07d1685f0cd4
parent 3 b1602a5ab0a3
child 16 4e9858fa9559
permissions -rw-r--r--
Revision: 201002 Kit: 201007

/*
* 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