?? wlansampleexappui.h
字號:
/* ====================================================================
* File: WLanSampleExAppUi.h
* Created: 01/19/07
* Author:
* Copyright (c): , All rights reserved
* ==================================================================== */
#ifndef __WLANSAMPLEEX_APPUI_H__
#define __WLANSAMPLEEX_APPUI_H__
#include <aknappui.h>
#include <ES_SOCK.H>
LOCAL_D const TUint32 KUidNone = 0;
// Forward reference
class CWLanSampleExAppView;
/*!
@class CWLanSampleExAppUi
@discussion An instance of class CWLanSampleExAppUi is the UserInterface part of the AVKON
application framework for the WLanSampleEx example application
*/
class CWLanSampleExAppUi : public CAknAppUi
{
public:
/*!
@function ConstructL
@discussion Perform the second phase construction of a CWLanSampleExAppUi object
this needs to be public due to the way the framework constructs the AppUi
*/
void ConstructL();
/*!
@function CWLanSampleExAppUi
@discussion Perform the first phase of two phase construction.
This needs to be public due to the way the framework constructs the AppUi
*/
CWLanSampleExAppUi();
/*!
@function ~CWLanSampleExAppUi
@discussion Destroy the object and release all memory objects
*/
~CWLanSampleExAppUi();
public: // from CAknAppUi
/*!
@function HandleCommandL
@discussion Handle user menu selections
@param aCommand the enumerated code for the option selected
*/
void HandleCommandL(TInt aCommand);
/*!
@function CreateAccessPoint
@creates a new WLAN access point
*/
void CreateAccessPointL();
/*!
@function ScanNetworks
@cans the currently active access points and gets their security mode, network mode, BSSID
*/
void ScanNetworksL();
/*!
@function NetworkName
@Scans the currently active access points and gets their name ane signal strength.
*/
void NetworkNameL();
/*!
@function GetMacAddress
@Gets the MAC address of the WLAN device
*/
void GetMacAddressL();
/*!
@function GetIpAddress
@Gets the IP address of the WLAN iConnection. Works only if there is a wlan iConnection established
*/
void GetIpAddressL();
/*!
@function EstablishConnection
@Establishes iConnection with the last wlan access point.
*/
void EstablishConnectionL();
/*!
@function GetCurrentSignalStrength
@Gets the signal strength of the wlan with which we have established the iConnection.
*/
void GetCurrentSignalStrengthL();
private:
/*! @var iAppView The application view */
CWLanSampleExAppView* iAppView;
RSocketServ iServer;
RConnection iConnection;
TBool iConnState;
TBuf<50> ibuff;
};
#endif // __WLANSAMPLEEX_APPUI_H__
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -