log.h

来自「This C++ code example provides a method 」· C头文件 代码 · 共 46 行

H
46
字号
/* Copyright (c) 2004, Nokia. All rights reserved */


#ifndef __LOG_H__
#define __LOG_H__


// CLASS DECLARATIONS

/**
* MLog
* An instance of MLog has the ability to log text.
*/
class MLog
    {
    public:

        /**
        * LogL()
        * Add an entry to the log.
        * @param aText the text of the entry
        */
        virtual void LogL( const TDesC& aText ) = 0;

        /**
        * LogL()
        * Add an entry to the log.
        * @param aText the text of the entry
        * @param aExtraText extra text to append onto the entry
        */
        virtual void LogL( const TDesC& aText, 
            const TDesC& aExtraText ) = 0;

        /**
        * LogL()
        * Add an entry to the log.
        * @param aText the text of the entry
        * @param aNumber a number to append onto the entry
        */
        virtual void LogL( const TDesC& aText, TInt aNumber ) = 0;
    };

#endif // __LOG_H__

// End of File

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?