uinotifier.h

来自「Symbian 手机网络通信程序 sockets-vc」· C头文件 代码 · 共 52 行

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


#ifndef __UINOTIFIER_H__
#define __UINOTIFIER_H__

// CLASS DECLARATION
/**
* MUINotifier
*  This class specifies the console output functions.
*/
class MUINotifier
    {
    public: // New functions

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

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

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

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

#endif // __UINOTIFIER_H__

// End of File

⌨️ 快捷键说明

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