CWiFiProtDlgsPlugin Class Reference

class CWiFiProtDlgsPlugin : public CBase

CWiFiProtDlgsPlugin class Notifier Framework plugin for Wi-Fi Protected Setup

Inherits from

Constructor & Destructor Documentation

CWiFiProtDlgsPlugin()

CWiFiProtDlgsPlugin()[private]

Constructor

~CWiFiProtDlgsPlugin()

~CWiFiProtDlgsPlugin()

Destructor

Member Functions Documentation

Cancel()

voidCancel()

Cancel() the notifier

CmManagerToUse()

RCmManagerExt &CmManagerToUse()[private]

Returns the correct RCmManagerExt instance's reference it can be an own instance, or a passed reference in case StartFromUiL was called (we are in the same process as the caller) This is necessary because we can't open two CmManagers the same time and the client is possibly using one already.

CompleteL(TInt)

voidCompleteL(TIntaStatus)

CompleteL the notifier is complete

Parameters

TInt aStatusstatus return -

CompleteProcessL(WiFiProt::TWiFiReturn)

voidCompleteProcessL(WiFiProt::TWiFiReturnaReturnValue)

Asynchronous notifier dialog sequence is completed by calling this function.

Parameters

WiFiProt::TWiFiReturn aReturnValue- possible return values are ok, cancel process and not use protected setup (No Automatic Setup).

ConstructL(const TDesC &, const TBool, RCmManagerExt *)

voidConstructL(const TDesC &aResourceFileName,
const TBoolaResourceFileResponsible,
RCmManagerExt *aCmManagerExt = NULL
)[private]

Parameters

const TDesC & aResourceFileNameResource file to open
const TBool aResourceFileResponsibleETrue if this notifier is responsible for the resource file
RCmManagerExt * aCmManagerExt = NULLCmManager to use

Info()

TNotifierInfoInfo()const

Get Notifier information return TNotifierInfo Notifier info

NewL(const TBool, RCmManagerExt *)

CWiFiProtDlgsPlugin *NewL(const TBoolaResourceFileResponsible,
RCmManagerExt *aCmManagerExt
)[static]

NewL function

Parameters

const TBool aResourceFileResponsible- ETrue if the plugin handles the resource file
RCmManagerExt * aCmManagerExt- CmManager to use during Wi-Fi Protected Setup return CWiFiProtDlgsPlugin*

NewL(const TBool)

CWiFiProtDlgsPlugin *NewL(const TBoolaResourceFileResponsible)[static]

NewL function

Parameters

const TBool aResourceFileResponsible- ETrue if the plugin handles the resource file return CWiFiProtDlgsPlugin*

RegisterL()

TNotifierInfoRegisterL()

RegisterL register the client notifier function return TNotifierInfo Contains uid, channel and priority of the registered notifier

Release()

voidRelease()

Release the notifier

SetCancelledFlag(TBool)

voidSetCancelledFlag(TBoolaCancelled)

Sets iCancelled flag that indicates that the notifier was cancelled

Parameters

TBool aCancelledNot used

StartFromUiL(const TWlanSsid &, TBool, RArray< TUint32 > &)

WiFiProt::TWiFiReturn StartFromUiL(const TWlanSsid &aSSid,
TBoolaConnectionNeeded,
RArray< TUint32 > &aUidsReturned
)

Starts Wi-Fi Protected Setup Private interface to be used by applications with ui runs in the same process, so pointers can be passed

Parameters

const TWlanSsid & aSSidcontains SSid of the network we want to configure
TBool aConnectionNeededETrue if we need a connection via the configured network
RArray< TUint32 > & aUidsReturneduids of the configured connection methods

StartL(const TDesC8 &)

TPtrC8 StartL(const TDesC8 &aBuffer)

Start the Notifier

Parameters

const TDesC8 & aBufferNot used return TPtrC8 Always NULL

StartL(const TDesC8 &, TInt, const RMessagePtr2 &)

voidStartL(const TDesC8 &aBuffer,
TIntaReplySlot,
const RMessagePtr2 &aMessage
)

Start the Notifier

Parameters

const TDesC8 & aBufferBuffer that stores parameters from client side
TInt aReplySlotIdentifies which message argument to use for the reply. This message argument will refer to a modifiable descriptor, a TDes8 type, into which data can be returned.
const RMessagePtr2 & aMessageMessage

UpdateL(const TDesC8 &)

TPtrC8 UpdateL(const TDesC8 &aBuffer)

Update Notifier

Parameters

const TDesC8 & aBufferNot used return TPtrC8 Always NULL

Member Data Documentation

TBool iCancelled

TBool iCancelled[private]

TBool iCancelledFromInside

TBool iCancelledFromInside[private]

TBool iClientCancelled

TBool iClientCancelled[private]

RCmManagerExt iCmManagerExt

RCmManagerExt iCmManagerExt[private]

TBool iConnMode

TBool iConnMode[private]

TNotifierInfo iInfo

TNotifierInfoiInfo[private]

RMessagePtr2 iMessage

RMessagePtr2 iMessage[private]

TWlanProtectedSetupCredentialAttribute iNetworkSettings

TWlanProtectedSetupCredentialAttribute iNetworkSettings[private]

RCmManagerExt * iPassedCmManagerExt

RCmManagerExt *iPassedCmManagerExt[private]

TInt iReplySlot

TInt iReplySlot[private]

TInt iResource

TInt iResource[private]

TWiFiReturn iReturn

TWiFiReturn iReturn[private]

CWiFiProtActiveRunner * iRunner

CWiFiProtActiveRunner *iRunner[private]

RArray< TUint32 > iUids

RArray< TUint32 >iUids[private]