uinotifier.h

来自「NOKIA手机的基于C++的socket完整的开发API,非常好用」· C头文件 代码 · 共 56 行

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


#ifndef __UINOTIFIER_H__
#define __UINOTIFIER_H__


/*! 
  @class MUINotifier
  
  @discussion This class specifies the console output functions.
  */
class MUINotifier
	{
public:
/*!
  @function PrintNotify

  @discussion Display the descriptor as text (with attributes) on the console
  @param aMessage message text
  @param attributes e.g. CEikGlobalTextEditor::EItalic
  */
	virtual void PrintNotify(const TDesC& aMessage, TUint aAttributes = 0) = 0;
/*!
  @function PrintNotify

  @discussion Display the descriptor as text (with attributes) on the console
  @param aMessage message text
  @param attributes e.g. CEikGlobalTextEditor::EItalic
  */
	virtual void PrintNotify(const TDesC8& aMessage, TUint aAttributes = 0) = 0;
/*!
  @function PrintNotify

  @discussion Display the integer as a decimal number on the console
  @param aNumber the number to be displayed
  */
	virtual void PrintNotify(TInt aNumber) = 0;
/*!
  @function ErrorNotify

  @discussion Display an error message
  @param aErrMessage error message text
  @param aErrCode error code number
  */
	virtual void ErrorNotify(const TDesC& aErrMessage, TInt aErrCode) = 0;
/*!
  @function SetStatus

  @discussion Display the text in the 'status' window
  @param aStatus new status description text
  */
    virtual void SetStatus(const TDesC& aStatus) = 0;
	};

#endif

⌨️ 快捷键说明

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