CMPXCollectionOpenUtility Class Reference
class CMPXCollectionOpenUtility : public CBase
|
Inherits from
-
CMPXCollectionOpenUtility
Public Member Functions
|
|
~CMPXCollectionOpenUtility
()
|
IMPORT_C
CMPXCollectionOpenUtility
*
|
NewL
(MMPXCollectionObserver *,
TUid
)
|
IMPORT_C
CMPXCollectionPath
*
|
PathL
()
|
IMPORT_C void
|
SetDelay
(
TInt
)
|
IMPORT_C void
|
SetDirection
(
TDirection
)
|
IMPORT_C void
|
StartL
(
TArray
<
TMPXAttribute
>,
TInt
,
TInt
,
TDirection
,
TMPXAttribute
)
|
IMPORT_C void
|
StartL
(const
CMPXCollectionPath
&,
TArray
<
TMPXAttribute
>,
TInt
,
TInt
,
TDirection
,
TMPXAttribute
)
|
IMPORT_C void
|
Stop
()
|
Constructor & Destructor Documentation
CMPXCollectionOpenUtility(MMPXCollectionObserver *, TUid)
CMPXCollectionOpenUtility
|
(
|
MMPXCollectionObserver *
|
aObs,
|
|
TUid
|
aMode
|
|
)
|
[private]
|
Parameters
MMPXCollectionObserver * aObs
|
observer
|
TUid
aMode
|
mode of the utility
|
~CMPXCollectionOpenUtility()
~CMPXCollectionOpenUtility
|
(
|
)
|
[virtual]
|
Member Functions Documentation
Callback(TAny *)
TInt
|
Callback
|
(
|
TAny
*
|
aAny
|
)
|
[private, static]
|
Callback function for the periodic timer.
ConstructL()
void
|
ConstructL
|
(
|
)
|
[private]
|
DoCompactTaskListL(const CMPXMedia &)
void
|
DoCompactTaskListL
|
(
|
const
CMPXMedia
&
|
aMedia
|
)
|
[private]
|
Compact the task list given partial results may have been fetched.
Parameters
const
CMPXMedia
& aMedia
|
media containing the fetched sections
|
DoFetchCountL()
void
|
DoFetchCountL
|
(
|
)
|
[private]
|
DoFetchItemsL()
void
|
DoFetchItemsL
|
(
|
)
|
[private]
|
DoHandleCollectionMessageL(const CMPXMessage &)
void
|
DoHandleCollectionMessageL
|
(
|
const
CMPXMessage
&
|
aMsg
|
)
|
[private]
|
Handle collection messages.
DoHandleCommandCompleteL(CMPXCommand &, TInt)
void
|
DoHandleCommandCompleteL
|
(
|
CMPXCommand
&
|
aCommandResult,
|
|
TInt
|
aError
|
|
)
|
[private]
|
DoHandleCountL(const CMPXMedia &, TInt, TInt)
Handle completion of count step.
Parameters
const
CMPXMedia
& aMedia
|
media returned from the collection
|
TInt
aIndex
|
item focus from the collection
|
TInt
aError
|
error of the operation
|
DoHandleFetchItemsL(const CMPXMedia &, TInt, TInt)
void
|
DoHandleFetchItemsL
|
(
|
const
CMPXMedia
&
|
aMedia,
|
|
TInt
|
aIndex,
|
|
TInt
|
aError
|
|
)
|
[private]
|
Handle completion of fetch item step.
-
Since
-
S60 5.0
-
leave
-
IfNull
Parameters
const
CMPXMedia
& aMedia
|
media returned from the collection
|
TInt
aIndex
|
item focus from the collection
|
TInt
aError
|
error of the operation
|
DoSelectIndexL()
void
|
DoSelectIndexL
|
(
|
)
|
[private]
|
Send a command to the collection to update selection index.
DoSetupChunksL(TInt)
void
|
DoSetupChunksL
|
(
|
TInt
|
aCount
|
)
|
[private]
|
Parameters
TInt
aCount
|
total number of items
|
DoSortAscend(TBool)
void
|
DoSortAscend
|
(
|
TBool
|
aSkipFirst = EFalse
|
)
|
[private]
|
Parameters
TBool
aSkipFirst = EFalse
|
do not order the first item
|
DoSortDescend(TBool)
void
|
DoSortDescend
|
(
|
TBool
|
aSkipFirst = EFalse
|
)
|
[private]
|
Sort decending do not order the first item.
Parameters
TBool
aSkipFirst = EFalse
|
do not order the first item
|
DoSortNormalL(TBool)
void
|
DoSortNormalL
|
(
|
TBool
|
aSkipFirst = EFalse
|
)
|
[private]
|
Parameters
TBool
aSkipFirst = EFalse
|
do not order the first item
|
HandleCallbackL()
void
|
HandleCallbackL
|
(
|
)
|
[private]
|
Handle callback from the timer.
HandleCollectionMediaL(const CMPXMedia &, TInt)
void
|
HandleCollectionMediaL
|
(
|
const
CMPXMedia
&
|
aMedia,
|
|
TInt
|
aError
|
|
)
|
[protected]
|
From MMPXCollectionObserver
HandleCollectionMessage(CMPXMessage *, TInt)
From MMPXCollectionObserver
HandleCommandComplete(CMPXCommand *, TInt)
void
|
HandleCommandComplete
|
(
|
CMPXCommand
*
|
aCommandResult,
|
|
TInt
|
aError
|
|
)
|
[protected]
|
From MMPXCollectionObserver
HandleOpenL(const CMPXMedia &, TInt, TBool, TInt)
From MMPXCollectionObserver
HandleOpenL(const CMPXCollectionPlaylist &, TInt)
From MMPXCollectionObserver
NewL(MMPXCollectionObserver *, TUid)
PathL()
Returns a copy of the collection path.
RunNext()
void
|
RunNext
|
(
|
)
|
[private]
|
SetDelay(TInt)
IMPORT_C void
|
SetDelay
|
(
|
TInt
|
aDelay
|
)
|
|
Set the fetching delay in between subsequent fetches.
Parameters
TInt
aDelay
|
delay in microseconds, default is 0
|
SetDirection(TDirection)
IMPORT_C void
|
SetDirection
|
(
|
TDirection
|
aDirection
|
)
|
|
Set the fetching direction.
Parameters
TDirection
aDirection
|
a direction to start fetching from
|
StartL(TArray< TMPXAttribute >, TInt, TInt, TDirection, TMPXAttribute)
Start the incremental read operation.
StartL(const CMPXCollectionPath &, TArray< TMPXAttribute >, TInt, TInt, TDirection, TMPXAttribute)
Start the incremental read operation.
Stop()
Cancel the incremental reading procedure.
Member Enumerations Documentation
Enum TDirection
Enumerators
EFetchNormal
|
|
EFetchUp
|
|
EFetchDown
|
|
Enum TFetchingStep
Enum fo rthe different states of this object
Enumerators
EFetchPath
|
|
EFetchCount
|
|
EFetchItems
|
|
EFetchCommand
|
|
EFetchNone
|
|
Member Data Documentation
MMPXCollectionUtility * iCollection
TInt
iFetchDelay
TInt
|
iFetchDelay
|
[private]
|
TDirection
iFetchDirection
TMPXOpenDataBlock iFetchInfo
TMPXOpenDataBlock
|
iFetchInfo
|
[private]
|
TBool
iFirstOpen
TBool
|
iFirstOpen
|
[private]
|
RArray< TMPXOpenDataBlock > iIncrementalChunks
RArray
< TMPXOpenDataBlock >
|
iIncrementalChunks
|
[private]
|
TMPXAttribute
iKeyAttribute
MMPXCollectionObserver * iObs
MMPXCollectionObserver *
|
iObs
|
[private]
|
CMPXCollectionPath * iPath
TBool
iSelecting
TBool
|
iSelecting
|
[private]
|
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.