CPbk2StoreManager Class Reference
class CPbk2StoreManager : public CBase
|
Phonebook 2 store manager. The responsibilities of this class are to retrieve and observer the device contact store configuration and to open these stores through the Virtual Phonebook contact manager. It also manages the compression of the contact stores.
Constructor & Destructor Documentation
CPbk2StoreManager(CVPbkContactManager &, CPbk2StoreConfiguration &, TBool)
Member Functions Documentation
CloseUnnecessaryStoresL()
void
|
CloseUnnecessaryStoresL
|
(
|
)
|
[private]
|
ConfigurationChanged()
void
|
ConfigurationChanged
|
(
|
)
|
[private]
|
ConfigurationChangedComplete()
void
|
ConfigurationChangedComplete
|
(
|
)
|
[private]
|
ConstructL()
void
|
ConstructL
|
(
|
)
|
[private, inline]
|
CurrentlyValidShownStoresL()
DeregisterStoreEvents(const MVPbkContactStoreObserver &)
EnableCompression(TBool)
IMPORT_C void
|
EnableCompression
|
(
|
TBool
|
aEnable
|
)
|
|
Enables and disables compression.
Parameters
TBool
aEnable
|
Indicates whether to enable or disable compression.
|
EnsureCurrentConfigurationLoadedAndOpenL()
void
|
EnsureCurrentConfigurationLoadedAndOpenL
|
(
|
)
|
[private]
|
EnsureCurrentConfigurationStoresIncludedL()
IMPORT_C void
|
EnsureCurrentConfigurationStoresIncludedL
|
(
|
)
|
|
Ensures current configuation stores are loaded
EnsureDefaultSavingStoreIncludedL()
IMPORT_C void
|
EnsureDefaultSavingStoreIncludedL
|
(
|
)
|
|
Ensures default saving store is loaded
HandleConfigurationChangedL()
void
|
HandleConfigurationChangedL
|
(
|
)
|
[private]
|
HandleSavingStoreChangedL()
void
|
HandleSavingStoreChangedL
|
(
|
)
|
[private]
|
HandleStoreEventL(MVPbkContactStore &, TVPbkContactStoreEvent)
IsStoreOpen(MVPbkContactStore &)
NewL(CVPbkContactManager &, CPbk2StoreConfiguration &, TBool)
Creates a new instance of this class.
OpenComplete()
void
|
OpenComplete
|
(
|
)
|
[private]
|
OpenStoresL()
IMPORT_C void
|
OpenStoresL
|
(
|
)
|
|
Opens all the contact stores that are loaded by Virtual Phonebook contact manager.
RegisterStoreEventsL(const MVPbkContactStoreObserver &)
ReplaceStoreL(MVPbkContactStore &)
SavingStoreChanged()
void
|
SavingStoreChanged
|
(
|
)
|
[private]
|
StoreReady(MVPbkContactStore &)
StoreUnavailable(MVPbkContactStore &, TInt)
Member Data Documentation
TBool
iActOnConfigurationEvents
TBool
|
iActOnConfigurationEvents
|
[private]
|
MPbk2CompressPolicyManager * iCompressPolicy
MPbk2CompressPolicyManager
*
|
iCompressPolicy
|
[private]
|
CVPbkContactManager & iContactManager
MVPbkContactStoreList * iContactStores
RPointerArray< MVPbkContactStore > iFailedStores
RPointerArray< MVPbkContactStore > iOpenedStores
CPbk2StoreConfiguration & iStoreConfiguration
RPointerArray< MVPbkContactStoreObserver > iStoreObservers
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.