log.h

来自「S60培训教材代码(连载)」· C头文件 代码 · 共 47 行

H
47
字号
/* Copyright (c) 2002, Nokia Mobile Phones. All rights reserved */

#ifndef __LOG_H__
#define __LOG_H__

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

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

/*!
  @function LogL
  
  @discussion 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 TDesC8& aText, const TDesC8& aExtraText) = 0;

/*!
  @function LogL
  
  @discussion 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 TDesC8& aText, TInt aNumber) = 0;

    };




#endif // __LOG_H__

⌨️ 快捷键说明

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