telephonyutils/telephonywatchers/Test/TE_TelWatchers/TE_TelWatchersUnitWatcherLog.h
changeset 0 3553901f7fa8
child 24 6638e7f4bd8f
equal deleted inserted replaced
-1:000000000000 0:3553901f7fa8
       
     1 // Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // Declaration for class used for logging in telephony watcher unit tests
       
    15 // Replaces messaging's CWatcherLog for telephony watcher unit tests
       
    16 // 
       
    17 //
       
    18 
       
    19 /**
       
    20  @file
       
    21 */
       
    22 
       
    23 #ifndef __TE_TELWATCHERSUNITWATCHERLOG_H__
       
    24 #define __TE_TELWATCHERSUNITWATCHERLOG_H__
       
    25 
       
    26 #include <test/testexecutelogger.h>
       
    27 
       
    28 class CWatcherLog : public CBase
       
    29 	{
       
    30 public:
       
    31 	CWatcherLog(CTestExecuteLogger& aTestExecuteLogger);
       
    32 
       
    33 	void Printf(TRefByValue<const TDesC> aFmt, ...);
       
    34 
       
    35 private:
       
    36     void PrintToTestExecuteLogL(TRefByValue<const TDesC> aFmt, VA_LIST aParamList);
       
    37 
       
    38 	CTestExecuteLogger&  iTestExecuteLogger;
       
    39 	};
       
    40 
       
    41 #endif // #ifndef __TE_TELWATCHERSUNITWATCHERLOG_H__