?? iapconnectremoveiapcontainer.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 + -