diff -r 000000000000 -r 96612d01cf9f videofeeds/server/tsrc/IptvTestUtility/inc/CIptvTestEcgUpdateInfo.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/videofeeds/server/tsrc/IptvTestUtility/inc/CIptvTestEcgUpdateInfo.h Mon Jan 18 20:21:12 2010 +0200 @@ -0,0 +1,90 @@ +/* +* Copyright (c) 2002-2004 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of the License "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: Object to offer some common utility functions to Iptv engine testing* +*/ + + + + +#ifndef CIPTVTESTECGUPDATEINFO_H +#define CIPTVTESTECGUPDATEINFO_H + +// INCLUDES +#include +#include "CIptvTestLogger.h" +#include "CIptvTestUtilities.h" +// CONSTANTS + +// MACROS + +// DATA TYPES + +// FUNCTION PROTOTYPES + +// FORWARD DECLARATIONS + +// CLASS DECLARATION +class CIptvTestUtilities; + +/** +* @since +*/ +class CIptvTestEcgUpdateInfo : public CBase + { + public: // Constructors and destructor + + /** + * Two-phased constructor. + */ + IMPORT_C static CIptvTestEcgUpdateInfo* NewL(); + + /** + * Destructor. + */ + IMPORT_C virtual ~CIptvTestEcgUpdateInfo(); + + IMPORT_C void EcgUpdateStart(TUint32 aServiceId, TUint32 aIapId); + IMPORT_C void EcgUpdateStop(TUint32 aServiceId, TInt aError, TInt aInfo); + IMPORT_C void WriteLogL(TRefByValue aFmt, ... ); + IMPORT_C void WriteLogL(TDesC& aStr); + + protected: + + + private: + /** + * C++ default constructor. + */ + CIptvTestEcgUpdateInfo(); + + /** + * By default Symbian 2nd phase constructor is private. + */ + void ConstructL( ); + + //TUint32 GetSystemTime(); + + + private: // Data + + CIptvTestLogger* iIptvTestLogger; + CIptvTestUtilities* iIptvTestUtilities; + + + + }; + +#endif // CIPTVTESTECGUPDATEINFO_H + +// End of File