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

📄 basenameappcontainer.h

📁 symbian学习案例
💻 H
字号:
/*
============================================================================
 Name		: $(baseName)AppContainer.h
 Author	  : $(author)
 Copyright   : $(copyright)
 Description : Declares container class for application.
============================================================================
*/

#ifndef __$(baseNameUpper)APPCONTAINER_h__
#define __$(baseNameUpper)APPCONTAINER_h__

// INCLUDES
#include <coecntrl.h>

// CLASS DECLARATION
class C$(baseName)AppContainer : public CCoeControl, MCoeControlObserver
{
	public: // Constructors and destructor		
		~C$(baseName)AppContainer();		
		static C$(baseName)AppContainer* NewL( const TRect& aRect );
		static C$(baseName)AppContainer* NewLC( const TRect& aRect );
		
	public: // New functions

    public: // Functions from base classes
		TKeyResponse  OfferKeyEventL(const TKeyEvent& aKeyEvent, TEventCode aType);
		
	private: // Functions from base classes
		void SizeChanged();
		TInt CountComponentControls() const;
		CCoeControl* ComponentControl(TInt aIndex) const;
		void Draw(const TRect& aRect) const;
		void HandleControlEventL(CCoeControl* aControl,TCoeEvent aEventType);
		
		C$(baseName)AppContainer();
		void ConstructL(const TRect& aRect);
		
	private: //data

};

#endif // __$(baseNameUpper)APPVIEW_h__

// End of File

⌨️ 快捷键说明

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