videofeeds/server/tsrc/IptvTestUtility/inc/CIptvTestEcgUpdateInfo.h
changeset 0 96612d01cf9f
equal deleted inserted replaced
-1:000000000000 0:96612d01cf9f
       
     1 /*
       
     2 * Copyright (c) 2002-2004 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 the License "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:   Object to offer some common utility functions to Iptv engine testing*
       
    15 */
       
    16 
       
    17 
       
    18 
       
    19 
       
    20 #ifndef CIPTVTESTECGUPDATEINFO_H
       
    21 #define CIPTVTESTECGUPDATEINFO_H
       
    22 
       
    23 //  INCLUDES
       
    24 #include <e32base.h>
       
    25 #include "CIptvTestLogger.h"
       
    26 #include "CIptvTestUtilities.h"
       
    27 // CONSTANTS
       
    28                                       
       
    29 // MACROS
       
    30 
       
    31 // DATA TYPES
       
    32 
       
    33 // FUNCTION PROTOTYPES
       
    34 
       
    35 // FORWARD DECLARATIONS
       
    36 
       
    37 // CLASS DECLARATION
       
    38 class CIptvTestUtilities;
       
    39 
       
    40 /**
       
    41 *  @since
       
    42 */
       
    43 class CIptvTestEcgUpdateInfo : public CBase
       
    44     {
       
    45     public:  // Constructors and destructor
       
    46         
       
    47          /**
       
    48         * Two-phased constructor.
       
    49         */
       
    50         IMPORT_C static CIptvTestEcgUpdateInfo* NewL();
       
    51 
       
    52         /**
       
    53         * Destructor.
       
    54         */
       
    55         IMPORT_C virtual ~CIptvTestEcgUpdateInfo();
       
    56 							
       
    57 		IMPORT_C void EcgUpdateStart(TUint32 aServiceId, TUint32 aIapId);
       
    58 		IMPORT_C void EcgUpdateStop(TUint32 aServiceId, TInt aError, TInt aInfo);
       
    59 		IMPORT_C void WriteLogL(TRefByValue<const TDesC> aFmt, ... );
       
    60 		IMPORT_C void WriteLogL(TDesC& aStr);        
       
    61 		
       
    62     protected: 
       
    63 	    
       
    64    
       
    65     private:
       
    66 				/**
       
    67         * C++ default constructor.
       
    68         */
       
    69         CIptvTestEcgUpdateInfo();
       
    70 
       
    71         /**
       
    72         * By default Symbian 2nd phase constructor is private.
       
    73         */
       
    74         void ConstructL( );
       
    75         
       
    76         //TUint32 GetSystemTime();
       
    77 
       
    78     
       
    79     private:    // Data
       
    80 
       
    81     CIptvTestLogger* iIptvTestLogger;
       
    82     CIptvTestUtilities* iIptvTestUtilities;
       
    83     
       
    84    
       
    85     
       
    86     };
       
    87 
       
    88 #endif      // CIPTVTESTECGUPDATEINFO_H   
       
    89             
       
    90 // End of File