www.pudn.com > sockets.rar > uinotifier.h


/* 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