CAsynchFSQ Class Reference
class CAsynchFSQ : private CBase
|
Asynchronous file manager queue and related operations.
Constructor & Destructor Documentation
~CAsynchFSQ()
~CAsynchFSQ
|
(
|
)
|
[virtual]
|
Member Functions Documentation
ActionsLeft()
IMPORT_C
TInt
|
ActionsLeft
|
(
|
)
|
|
Returns the number of actions left for the queue to perform
Cancel()
Cancels any ongoing activity and clears the threads.
ConstructL()
void
|
ConstructL
|
(
|
)
|
[private]
|
By default Symbian 2nd phase constructor is private.
Delete(const TDesC &)
Deletes a file from the file system
Enqueue(TFSQActionType, TDesC8 &, const TDesC &, const TDesC &, TFSQSchemaType, const TDesC &, const TDesC &)
TInt
|
Enqueue
|
(
|
TFSQActionType
|
aActionType,
|
|
TDesC8
&
|
aData,
|
|
const
TDesC
&
|
aPath,
|
|
const
TDesC
&
|
aURL,
|
|
TFSQSchemaType
|
aSchema,
|
|
const
TDesC
&
|
aUserName,
|
|
const
TDesC
&
|
aPassword
|
|
)
|
[private]
|
Adds one index to the end of each queue.
Parameters
TFSQActionType
aActionType
|
|
TDesC8
& aData
|
|
const
TDesC
& aPath
|
|
const
TDesC
& aURL
|
|
TFSQSchemaType
aSchema
|
|
const
TDesC
& aUserName
|
|
const
TDesC
& aPassword
|
|
Go()
Starts the saving thread If iManualStart is not activated, this is essentially a NO-OP
Notify(TInt)
void
|
Notify
|
(
|
TInt
|
aError
|
)
|
|
Used to indicate a state change from a data atom
Rename(const TDesC &, const TDesC &)
Renames a file in the file system
SaveAndDestroy(TDesC8 &, const TDesC &, TBool)
Starts async copy operation
SetCallback(MAsynchFSQObserver *)
SetManualStart(TBool)
IMPORT_C void
|
SetManualStart
|
(
|
TBool
|
aManualStart
|
)
|
|
Notifies the queue that the client wishes to start the thread manually
SetPriority(TInt)
IMPORT_C void
|
SetPriority
|
(
|
TInt
|
aPriority
|
)
|
|
Member Data Documentation
MAsynchFSQObserver * iCallback
TBool
iManualStart
TBool
|
iManualStart
|
[private]
|
TBool
iOverwrite
TBool
|
iOverwrite
|
[private]
|
RPointerArray< CAsynchFSQAtom > iQueue
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.