messagingfw/suplsmshandler/test/testserver/src/Te_WatcherLog.cpp
changeset 0 8e480a14352b
equal deleted inserted replaced
-1:000000000000 0:8e480a14352b
       
     1 // Copyright (c) 2007-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 // A test simulator class for the CTe_WatcherLog class
       
    15 // 
       
    16 //
       
    17 
       
    18 /**
       
    19  @file
       
    20  @internalComponent
       
    21  @prototype
       
    22 */
       
    23 
       
    24 #include "Te_WatcherLog.h"
       
    25 
       
    26 /**
       
    27  * Static factory method for creating an instance of the CTe_WatcherLog class.
       
    28  * 
       
    29  * @return An instance of the class. The calling application becomes the owner of the returned instance
       
    30  * and is responsible its disposal. 
       
    31  * 
       
    32  * @leave If a error happens, it leaves with KErrNoMemory code.
       
    33  */
       
    34 CTe_WatcherLog* CTe_WatcherLog::NewL()
       
    35 	{
       
    36 	return new(ELeave) CTe_WatcherLog();
       
    37 	}
       
    38 
       
    39 /**
       
    40  * Private default constructor
       
    41  */
       
    42 CTe_WatcherLog::CTe_WatcherLog()
       
    43 	{
       
    44 	//Intentionally left blank
       
    45 	}
       
    46 
       
    47 /**
       
    48  * A stub implementation for the CWatcherLog::Printf method.
       
    49  * 
       
    50  * @see CWatcherLog::Printf
       
    51  */	
       
    52 void CTe_WatcherLog::Printf(TRefByValue< const TDesC > /*aFmt*/,...)
       
    53 	{
       
    54 	//Intentionally left blank
       
    55 	}
       
    56 
       
    57 /**
       
    58  * A stub implementation for the CWatcherLog::Printf method.
       
    59  * 
       
    60  * @see CWatcherLog::Printf
       
    61  */
       
    62 void CTe_WatcherLog::Printf(TRefByValue< const TDesC8 > /*aFmt*/,...)
       
    63 	{
       
    64 	//Intentionally left blank
       
    65 	}
       
    66 
       
    67 /**
       
    68  * A stub implementation for the CWatcherLog::IsLogging method.
       
    69  * 
       
    70  * @return Always returns ETrue.
       
    71  * 
       
    72  * @see CWatcherLog::IsLogging
       
    73  */
       
    74 TBool CTe_WatcherLog::IsLogging() const
       
    75 	{
       
    76 	//Intentionally left blank
       
    77 	return ETrue;
       
    78 	}
       
    79