showinfodialog.h

来自「nokia symbian Image_Converter_Example」· C头文件 代码 · 共 88 行

H
88
字号
/*
* ============================================================================
*  Name     : CShowInfoDialog from ShowInfoDialog.h
*  Part of  : ImageConverter
*  Created  : 25.11.2003 Forum Nokia
*  Description:
*     Used to show information of a image frame.
*  Version  :
*  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 + -
显示快捷键?