S60 3rd Edition SDK for Symbian OS
Example Applications Guide

Log.h

00001 /*
00002 * ==============================================================================
00003 *  Name        : Log.h
00004 *  Part of     : Chat
00005 *  Interface   : 
00006 *  Description : 
00007 *  Version     : 
00008 *
00009 *  Copyright (c) 2005-2006 Nokia Corporation.
00010 *  This material, including documentation and any related 
00011 *  computer programs, is protected by copyright controlled by 
00012 *  Nokia Corporation.
00013 * ==============================================================================
00014 */
00015 
00016 #ifndef __LOG_H__
00017 #define __LOG_H__
00018 
00019 // CLASS DECLARATIONS
00020 /**
00021 * MLog
00022 * An instance of MLog has the ability to log text.
00023 */
00024 class MLog
00025     {
00026     public: // From MLog
00027 
00028         /**
00029         * LogL()
00030         * Add an entry to the log.
00031         * @param aText the text of the entry
00032         */
00033         virtual void LogL( const TDesC& aText ) = 0;
00034 
00035         /**
00036         * LogL()
00037         * Add an entry to the log.
00038         * @param aText the text of the entry
00039         * @param aExtraText extra text to append onto the entry
00040         */
00041         virtual void LogL( const TDesC& aText, const TDesC& aExtraText ) = 0;
00042 
00043         /**
00044         * LogL()
00045         * Add an entry to the log.
00046         * @param aText the text of the entry
00047         * @param aNumber a number to append onto the entry
00048         */
00049         virtual void LogL( const TDesC& aText, TInt aNumber ) = 0;
00050 
00051     };
00052 
00053 #endif // __LOG_H__
00054 
00055 // End of File

© Nokia 2006

Back to top