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

📄 iapconnectremoveiapcontainer.h

📁 symbian中如何取得内部联网方式
💻 H
字号:
/*
* ============================================================================
*  Name     : CIAPConnectRemoveIapContainer from IAPConnectRemoveIapContainer.h
*  Part of  : Internet Access Points Example v2.0
*  Description:
*     Declares container control for application.
*  Created  : 01.09.2006 by Forum Nokia
*  Version  : 2.0
*  Copyright: Forum Nokia
* ============================================================================
*/

#ifndef IAPCONNECT_REMOVEIAP_CONTAINER_H
#define IAPCONNECT_REMOVEIAP_CONTAINER_H

// INCLUDE FILES
#include <coecntrl.h>
 
// FORWARD DECLARATIONS
class CEikTextListBox;


class TIap
	{
public:
	TUint32 iId;
	TBuf<128> iName;
	};
	

// CLASS DECLARATION

/**
*  CIAPConnectRemoveIapContainer  container control class.
*  
*/
class CIAPConnectRemoveIapContainer : public CCoeControl
    {
public: // Constructors and destructor
        
    /**
    * Symbian default constructor.
    */
    void ConstructL(const TRect& aRect);

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

public: // New functions
		
	/**
	* Find all IAPs and add them to list
	*/
	void GetIapListL();

	/**
	* Returns the selected IAP's id
	* @return the selected IAP's id
	*/		
	TUint32 GetSelectedIapId();

	/**
	* Returns the selected IAP's name
	* @return the selected IAP's name
	*/		
	TDesC& GetSelectedIapName();
						
private: // Functions from base classes

	/**
	* From CoeControl
	*/
	void SizeChanged();

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

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

	/**
	* From CCoeControl
	*/
	void Draw(const TRect& aRect) const;

	/**
	* From CCoeControl
	*/
	TKeyResponse OfferKeyEventL( const TKeyEvent& aKeyEvent, TEventCode aType);
        
private: // Data members
        
	CEikTextListBox* iListBox;
        
	RArray<TIap> iIAPs;
	}; 

#endif

// End of File

⌨️ 快捷键说明

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