showinfodialog.h

来自「这是在Symbian平台上,显示BMP以外的图片.」· C头文件 代码 · 共 87 行

H
87
字号
/*
* ============================================================================
*  Name     : CShowInfoDialog from ShowInfoDialog.h
*  Part of  : ImageConverter
*  Created  : May 14, 2006 by Forum Nokia
*  Description:
*     Used to show information of a image frame.
*  Version  : 2.0
*  Copyright: Nokia Corporation
* ============================================================================
*/

#ifndef __SHOWINFODIALOG_H__
#define __SHOWINFODIALOG_H__

// INCLUDES
#include <aknview.h>
#include <eikdialg.h>

// FORWARD DECLARATIONS
class CImageConverterEngine;
class CEikTextListBox;

// CLASS DECLARATION

/**
*  Dialog class
*  Test various controls.
*/
class CShowInfoDialog:public CEikDialog
    {
    public: // Constructors and destructor
        /**
        * Constructor
        */      
        CShowInfoDialog( CFrameInfoStrings* aInfoStrings );
        
        ~CShowInfoDialog();

        /**
        * From CAknDialog set parameters before showing dialog.
        */
        void PreLayoutDynInitL();
		
        void PostLayoutDynInitL();

        TKeyResponse OfferKeyEventL(const TKeyEvent& aKeyEvent,TEventCode aType);

        /**
        * From CAknDialog update member variables of CAknExEditorDialog.
        * @param aButtonId The ID of the button that was activated.
        * @return Should return ETrue if the dialog should exit,
        *    and EFalse if it should not
        */
        TBool OkToExitL(TInt aButtonId);

    public:
    private: // from base classes
        /**
        * From CoeControl,CountComponentControls.
        */
        TInt CountComponentControls() const;

        /**
        * From CCoeControl,ComponentControl.
        */
        CCoeControl* ComponentControl(TInt aIndex) const;

    
    private: // internal methods
	   void ShowInfoDialogL();

    private: // data
        CFrameInfoStrings* iInfoStrings;

        CImageConverterEngine* iConverter;
	
        /*! @var iListBox the control used to display the results */
	    CEikTextListBox* iListBox;

        /*! @var iMessageList the list of messages to display */
        CDesCArrayFlat* iMessageList;

    };

#endif //__SHOWINFODIALOG_H__

⌨️ 快捷键说明

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