vtengines/videoteleng/Inc/Base/CVtEngSATClient.h
changeset 0 ed9695c8bcbe
child 3 b1602a5ab0a3
equal deleted inserted replaced
-1:000000000000 0:ed9695c8bcbe
       
     1 /*
       
     2 * Copyright (c) 2005 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  SAT listener.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef CVTENGSATCLIENT_H
       
    21 #define CVTENGSATCLIENT_H
       
    22 
       
    23 //  INCLUDES
       
    24 #include <e32base.h>
       
    25 #include <e32std.h>
       
    26 #include <rsatrefresh.h>
       
    27 #include <rsatsession.h>
       
    28 
       
    29 
       
    30 // CLASS DECLARATION
       
    31 
       
    32 /**
       
    33 *  SAT listener.
       
    34 *
       
    35 *  @lib videoteleng.lib
       
    36 *  @since Series 60 3.0
       
    37 */
       
    38 NONSHARABLE_CLASS( CVtEngSATClient ) : public CBase, MSatRefreshObserver
       
    39     {
       
    40     public:  // Constructors and destructor.
       
    41         
       
    42         /**
       
    43         * Two-phased constructor.
       
    44         * @return instance of CVtEngSATClient
       
    45         */
       
    46         static CVtEngSATClient* NewL( );
       
    47         
       
    48         /**
       
    49         * Destructor.
       
    50         */
       
    51         virtual ~CVtEngSATClient();
       
    52         
       
    53     public: // Functions from base classes
       
    54 
       
    55         /**
       
    56         * From MSatRefreshObserver
       
    57         */
       
    58         TBool AllowRefresh(
       
    59             TSatRefreshType aType, const TSatRefreshFiles& aFiles );
       
    60         /**
       
    61         * From MSatRefreshObserver.
       
    62         */
       
    63         void Refresh( TSatRefreshType aType, const TSatRefreshFiles& aFiles );
       
    64 
       
    65     private:
       
    66 
       
    67         /**
       
    68         * C++ default constructor.
       
    69         */
       
    70         CVtEngSATClient();
       
    71 
       
    72         /**
       
    73         * By default Symbian 2nd phase constructor is private.
       
    74         */
       
    75         void ConstructL( );
       
    76     
       
    77     private:    // Data
       
    78     
       
    79         // Session & Refresh for SAT listening.
       
    80         RSatSession iSatSession;
       
    81         RSatRefresh iSatRefresh;
       
    82 
       
    83     };
       
    84 
       
    85 #endif      // CVTENGSATCLIENT_H
       
    86             
       
    87 // End of File