CATExtCommonBase Class Reference
class CATExtCommonBase : public CBase
|
AT extension common plugin API
The base class for implementing AT Extension Plugin.
A concrete AT Extension Plugin must implement this class as an ECom plugin, and it must be ready once it has been instantiated.
The interface UID of the plugin resource must use the value defined in atext_interfaceuid.h.
atextcommonbase.lib
-
Since
-
S60 v5.0
Constructor & Destructor Documentation
~CATExtCommonBase()
IMPORT_C
|
~CATExtCommonBase
|
(
|
)
|
[virtual]
|
Member Functions Documentation
CancelReceiveModeStatusChange()
void
|
CancelReceiveModeStatusChange
|
(
|
)
|
[pure virtual]
|
Cancels a pending mode receiving request.
CancelReceiveNvramStatusChange()
void
|
CancelReceiveNvramStatusChange
|
(
|
)
|
[pure virtual]
|
GetMode(TUint, TUint &)
Gets current mode status. This is a synchronous version of
ReceiveModeStatusChange()
and the extension plugin must set aMode parameter to the current mode status before this function returns.
Parameters
TUint
aMask
|
Mask for current mode
|
TUint
& aMode
|
Current mode (see explanation in this file)
|
GetNvramStatus(RBuf8 &)
TInt
|
GetNvramStatus
|
(
|
RBuf8
&
|
aNvram
|
)
|
[pure virtual]
|
Gets current NVRAM status. This is a synchronous version of
ReceiveNvramStatusChange()
and the extension plugin must set aNvram parameter to the current NVRAM status before this function returns.
Parameters
RBuf8
& aNvram
|
Current NVRAM status. The current settings (delimited by "|") must differ from the Hayes defaults.
|
NewL(TUid, MATExtCommonObserver &, const TDesC8 &)
Instantiate the AT Extension Plugin via ECom framework.
Parameters
TUid
aImplementationUid
|
|
MATExtCommonObserver
& aObserver
|
The reference of ATEXT interface.
|
const
TDesC8
& aName
|
Connection name to report to extension plugin
|
ReceiveModeStatusChange()
TInt
|
ReceiveModeStatusChange
|
(
|
)
|
[pure virtual]
|
Receives mode status change. Cancelling of the pending request is done by
CancelReceiveModeStatusChange()
. The implementation in the extension plugin should be asynchronous.
ReceiveNvramStatusChange()
TInt
|
ReceiveNvramStatusChange
|
(
|
)
|
[pure virtual]
|
Receives NVRAM status change. Cancelling of the pending request is done by
CancelReceiveNvramStatusChange()
. The implementation in the extension plugin should be asynchronous.
ReportConnectionName(const TDesC8 &)
void
|
ReportConnectionName
|
(
|
const
TDesC8
&
|
aName
|
)
|
[pure virtual]
|
Reports connection identifier name to the extension plugin.
Parameters
const
TDesC8
& aName
|
Connection identifier name
|
SendModeStatusChange(TUint)
IMPORT_C
TInt
|
SendModeStatusChange
|
(
|
TUint
|
aMode
|
)
|
[protected]
|
Called by concrete extension plugin to inform that mode status has changed. Instructs ATEXT to complete client request message for
ReceiveModeStatusChange()
.
SendNvramStatusChange(const TDesC8 &)
IMPORT_C
TInt
|
SendNvramStatusChange
|
(
|
const
TDesC8
&
|
aNvram
|
)
|
[protected]
|
Called by concrete extension plugin to inform that NVRAM status has changed. Instructs ATEXT to complete client request message for
ReceiveNvramStatusChange()
.
Parameters
const
TDesC8
& aNvram
|
New NVRAM status. The new settings (delimited by "|") must differ from the Hayes defaults.
|
SetObserver(MATExtCommonObserver &)
Member Data Documentation
TUid
iInstanceUid
TUid
|
iInstanceUid
|
[private]
|
UID set by ECOM when the instance is created. Used when the instance is destroyed.
MATExtCommonObserver * iObserver
The reference of ATEXT interface.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.