⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 exelaunchercontainer.h

📁 一个symbian中执行exe程序的实例
💻 H
字号:
/*
* ============================================================================
*  Name     : CExeLauncherContainer from ExeLauncherContainer.h
*  Part of  : ExeLauncher
*  Created  : 01.09.2005 by Artem Marchenko
*  Description:
*     Declares container control for application.
*  Version  :
*  Copyright: Artem Marchenko 2005
* ============================================================================
*/

#ifndef EXELAUNCHERCONTAINER_H
#define EXELAUNCHERCONTAINER_H

// INCLUDES
#include <coecntrl.h>
#include <aknsettingitemlist.h> 
#include "ExeLauncher.hrh"
   
// FORWARD DECLARATIONS
class CEikLabel;        // for example labels


// CLASS DECLARATION

// Editable filenames listbox 
class CSettingItemList : public CAknSettingItemList
{
public:
	// Called by framework. Creates editors for resource definitions
	virtual CAknSettingItem* CreateSettingItemL( TInt aIdentifier );
	CSettingItemList();
private:
	// Default filenames
	TBuf<EELEdwinMaxLength>			iText1;
	TBuf<EELEdwinMaxLength>			iText2;
	TBuf<EELEdwinMaxLength>			iText3;
};

/**
*  CExeLauncherContainer  container control class.
*  
*/
class CExeLauncherContainer : public CCoeControl, MCoeControlObserver
    {
    public: // Constructors and destructor
        
        /**
        * EPOC default constructor.
        * @param aRect Frame rectangle for container.
        */
        void ConstructL(const TRect& aRect);

        /**
        * Destructor.
        */
        ~CExeLauncherContainer();

    public: // New functions
		inline CSettingItemList* FileList() { return iFileList; }

    public: // Functions from base classes

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

    private: // Functions from base classes

       /**
        * From CoeControl,CountComponentControls.
        */
        TInt CountComponentControls() const;

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

		/**
		* From MCoeControlObserver
		* Acts upon changes in the hosted control's state. 
		*
		* @param	aControl	The control changing its state
		* @param	aEventType	The type of control event 
		*/
        void HandleControlEventL(CCoeControl* aControl,TCoeEvent aEventType);
        
    private: //data
 		CSettingItemList* iFileList;
    };

#endif

// End of File

⌨️ 快捷键说明

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