videofeeds/server/tsrc/IptvTestUtility/inc/CIptvTestLogger.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 CIPTVTESTLOGGER_H
       
    21 #define CIPTVTESTLOGGER_H
       
    22 
       
    23 //  INCLUDES
       
    24 #include <e32base.h>
       
    25 #include <flogger.h>
       
    26 // CONSTANTS
       
    27                                             
       
    28 // MACROS
       
    29 
       
    30 // DATA TYPES
       
    31 
       
    32 // FUNCTION PROTOTYPES
       
    33 
       
    34 // FORWARD DECLARATIONS
       
    35 
       
    36 
       
    37 // CLASS DECLARATION
       
    38 
       
    39 /**
       
    40 *  
       
    41 *  
       
    42 *  
       
    43 *
       
    44 *  @since
       
    45 */
       
    46 class CIptvTestLogger : public CBase
       
    47     {
       
    48     public:  // Constructors and destructor
       
    49         
       
    50         /**
       
    51         * Two-phased constructor.
       
    52         */
       
    53         IMPORT_C static CIptvTestLogger* NewL(const TDesC& aDir, const TDesC& aName);
       
    54         
       
    55         /**
       
    56         * Destructor.
       
    57         */
       
    58         IMPORT_C virtual ~CIptvTestLogger();
       
    59 
       
    60 
       
    61     public: // New functions
       
    62 			IMPORT_C void  Log(TRefByValue<const TDesC> aFmt,... );
       
    63 		
       
    64 					
       
    65     protected: //from base classes
       
    66 	    
       
    67    
       
    68     private:
       
    69 
       
    70         /**
       
    71         * C++ default constructor.
       
    72         */
       
    73         CIptvTestLogger();
       
    74 
       
    75         /**
       
    76         * By default Symbian 2nd phase constructor is private.
       
    77         */
       
    78         void ConstructL(const TDesC& aDir, const TDesC& aName);
       
    79         
       
    80 
       
    81     
       
    82     private:    // Data
       
    83 
       
    84     TBuf<255> iFileDir;
       
    85     TBuf<255> iFileName;
       
    86 
       
    87     };
       
    88 
       
    89 
       
    90 #endif      // CIPTVTESTLOGGER_H   
       
    91             
       
    92 // End of File