CPhonebookOnDispatcher Class Reference
class CPhonebookOnDispatcher : public CBase
|
This class is responsible for packing and unpacking data belonging to PhonebookOn related requests to the Licensee LTSY.
Public Member Functions
|
|
~CPhonebookOnDispatcher
()
|
void
|
CallbackStoreDeleteAll
(
TInt
)
|
void
|
CallbackStoreDeleteEntry
(
TInt
)
|
void
|
CallbackStoreGetInfo
(
TInt
,
TInt
,
TInt
,
TInt
,
TInt
)
|
void
|
CallbackStoreGetReadStoreSize
(
TInt
,
TInt
)
|
void
|
CallbackStoreGetStoreSize
(
TInt
,
TInt
)
|
void
|
CallbackStoreRead
(
TInt
,
TInt
, const
TDesC
&, const
TDesC
&)
|
void
|
CallbackStoreReadAll
(
TInt
)
|
void
|
CallbackStoreReadEntry
(
TInt
,
TInt
, const
TDesC
&, const
TDesC
&)
|
void
|
CallbackStoreWrite
(
TInt
,
TInt
)
|
void
|
CallbackStoreWriteEntry
(
TInt
)
|
void
|
CallbackSync
(
CRequestQueueOneShot::TIpcDataPackage
&)
|
TInt
|
DispatchStoreDeleteAllL
()
|
TInt
|
DispatchStoreDeleteEntryL
(const
CMmDataPackage
*)
|
TInt
|
DispatchStoreGetInfoL
()
|
TInt
|
DispatchStoreGetReadStoreSizeL
()
|
TInt
|
DispatchStoreGetStoreSizeL
()
|
TInt
|
DispatchStoreReadEntryL
(const
CMmDataPackage
*)
|
TInt
|
DispatchStoreReadL
(const
CMmDataPackage
*)
|
TInt
|
DispatchStoreWriteEntryL
(const
CMmDataPackage
*)
|
TInt
|
DispatchStoreWriteL
(const
CMmDataPackage
*)
|
CPhonebookOnDispatcher
*
|
NewL
(
MLtsyDispatchFactoryV1
&,
MmMessageManagerCallback
&,
CRequestQueueOneShot
&)
|
CPhonebookOnDispatcher
*
|
NewLC
(
MLtsyDispatchFactoryV1
&,
MmMessageManagerCallback
&,
CRequestQueueOneShot
&)
|
void
|
SetDispatcherHolder
(
TDispatcherHolder
&)
|
Constructor & Destructor Documentation
CPhonebookOnDispatcher(MLtsyDispatchFactoryV1 &, MmMessageManagerCallback &, CRequestQueueOneShot &)
~CPhonebookOnDispatcher()
~CPhonebookOnDispatcher
|
(
|
)
|
[virtual]
|
Member Functions Documentation
CallbackStoreDeleteAll(TInt)
void
|
CallbackStoreDeleteAll
|
(
|
TInt
|
aError
|
)
|
|
Parameters
TInt
aError
|
The error code to be returned to the CTSY Dispatcher.
|
CallbackStoreDeleteEntry(TInt)
void
|
CallbackStoreDeleteEntry
|
(
|
TInt
|
aError
|
)
|
|
Parameters
TInt
aError
|
The error code to be returned to the CTSY Dispatcher.
|
CallbackStoreGetInfo(TInt, TInt, TInt, TInt, TInt)
void
|
CallbackStoreGetInfo
|
(
|
TInt
|
aError,
|
|
TInt
|
aNumOfEntries,
|
|
TInt
|
aUsedEntries,
|
|
TInt
|
aNameLen,
|
|
TInt
|
aNumLen
|
|
)
|
|
Parameters
TInt
aError
|
KErrNone on success, or another error code indicating the error otherwise.
|
TInt
aNumOfEntries
|
The number of entries.
|
TInt
aUsedEntries
|
The number of used entries.
|
TInt
aNameLen
|
The length of a name.
|
TInt
aNumLen
|
The length of a number.
|
CallbackStoreGetReadStoreSize(TInt, TInt)
void
|
CallbackStoreGetReadStoreSize
|
(
|
TInt
|
aError,
|
|
TInt
|
aSize
|
|
)
|
|
Parameters
TInt
aError
|
The error code to be returned to the CTSY Dispatcher.
|
TInt
aSize
|
The number of entries stored in the storage.
|
CallbackStoreGetStoreSize(TInt, TInt)
void
|
CallbackStoreGetStoreSize
|
(
|
TInt
|
aError,
|
|
TInt
|
aSize
|
|
)
|
|
Parameters
TInt
aError
|
The error code to be returned to the CTSY Dispatcher.
|
TInt
aSize
|
The number of entries that can be stored in the storage.
|
CallbackStoreRead(TInt, TInt, const TDesC &, const TDesC &)
void
|
CallbackStoreRead
|
(
|
TInt
|
aError,
|
|
TInt
|
aIndex,
|
|
const
TDesC
&
|
aName,
|
|
const
TDesC
&
|
aNumber
|
|
)
|
|
Parameters
TInt
aError
|
KErrNone on success, or another error code indicating the error otherwise.
|
TInt
aIndex
|
The index of the entry.
|
const
TDesC
& aName
|
The name stored in the entry. The length of this should not be more than 20.
|
const
TDesC
& aNumber
|
The number stored in the ON entry. The length of this should not be more than 100.
|
CallbackStoreReadAll(TInt)
void
|
CallbackStoreReadAll
|
(
|
TInt
|
aError
|
)
|
|
CallbackStoreReadEntry(TInt, TInt, const TDesC &, const TDesC &)
void
|
CallbackStoreReadEntry
|
(
|
TInt
|
aError,
|
|
TInt
|
aIndex,
|
|
const
TDesC
&
|
aName,
|
|
const
TDesC
&
|
aNumber
|
|
)
|
|
Parameters
TInt
aError
|
KErrNone on success, or another error code indicating the error otherwise.
|
TInt
aIndex
|
The index of the entry.
|
const
TDesC
& aName
|
The name stored in the entry. The length of this should not be more than 20.
|
const
TDesC
& aNumber
|
The number stored in the ON entry. The length of this should not be more than 100.
|
CallbackStoreWrite(TInt, TInt)
void
|
CallbackStoreWrite
|
(
|
TInt
|
aError,
|
|
TInt
|
aLocation
|
|
)
|
|
Parameters
TInt
aError
|
The error code to be returned to the CTSY Dispatcher.
|
TInt
aLocation
|
The location where the ON entry was stored.
|
CallbackStoreWriteEntry(TInt)
void
|
CallbackStoreWriteEntry
|
(
|
TInt
|
aError
|
)
|
|
Parameters
TInt
aError
|
The error code to be returned to the CTSY Dispatcher.
|
CallbackSync(CRequestQueueOneShot::TIpcDataPackage &)
ConstructL()
void
|
ConstructL
|
(
|
)
|
[private]
|
Second phase constructor.
DispatchStoreDeleteAllL()
TInt
|
DispatchStoreDeleteAllL
|
(
|
)
|
|
Pass request on to Licensee LTSY.
DispatchStoreDeleteEntryL(const CMmDataPackage *)
Unpack data related to EMmTsyONStoreDeleteIPC and pass request on to Licensee LTSY.
DispatchStoreGetInfoL()
TInt
|
DispatchStoreGetInfoL
|
(
|
)
|
|
Pass request on to Licensee LTSY.
DispatchStoreGetReadStoreSizeL()
TInt
|
DispatchStoreGetReadStoreSizeL
|
(
|
)
|
|
Pass request on to Licensee LTSY to retrieve the number of entries that are stored in the storage.
DispatchStoreGetStoreSizeL()
TInt
|
DispatchStoreGetStoreSizeL
|
(
|
)
|
|
Pass request on to Licensee LTSY to retrieve the number of entries that can be stored in the storage.
DispatchStoreReadEntryL(const CMmDataPackage *)
Unpack data related to EMmTsyONStoreReadEntryIPC and pass request on to Licensee LTSY.
DispatchStoreReadL(const CMmDataPackage *)
Unpack data related to EMmTsyONStoreReadIPC and pass request on to Licensee LTSY.
DispatchStoreWriteEntryL(const CMmDataPackage *)
Unpack data related to EMmTsyONStoreWriteEntryIPC and pass request on to Licensee LTSY.
DispatchStoreWriteL(const CMmDataPackage *)
Unpack data related to EMmTsyONStoreWriteIPC and pass request on to Licensee LTSY.
NewL(MLtsyDispatchFactoryV1 &, MmMessageManagerCallback &, CRequestQueueOneShot &)
NewLC(MLtsyDispatchFactoryV1 &, MmMessageManagerCallback &, CRequestQueueOneShot &)
SetDispatcherHolder(TDispatcherHolder &)
Set the dispatcher holder.
Member Data Documentation
TDispatcherHolder * iDispatcherHolder
MLtsyDispatchPhonebookOnStoreDeleteAll * iLtsyDispatchPhonebookOnStoreDeleteAll
MLtsyDispatchPhonebookOnStoreDeleteEntry * iLtsyDispatchPhonebookOnStoreDeleteEntry
MLtsyDispatchPhonebookOnStoreGetInfo * iLtsyDispatchPhonebookOnStoreGetInfo
MLtsyDispatchPhonebookOnStoreGetReadStoreSize * iLtsyDispatchPhonebookOnStoreGetReadStoreSize
MLtsyDispatchPhonebookOnStoreGetStoreSize * iLtsyDispatchPhonebookOnStoreGetStoreSize
MLtsyDispatchPhonebookOnStoreRead * iLtsyDispatchPhonebookOnStoreRead
MLtsyDispatchPhonebookOnStoreReadEntry * iLtsyDispatchPhonebookOnStoreReadEntry
MLtsyDispatchPhonebookOnStoreWrite * iLtsyDispatchPhonebookOnStoreWrite
MLtsyDispatchPhonebookOnStoreWriteEntry * iLtsyDispatchPhonebookOnStoreWriteEntry
MLtsyDispatchFactoryV1 & iLtsyFactoryV1
MmMessageManagerCallback & iMessageManagerCallback
CRequestQueueOneShot & iRequestAsyncOneShot
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.