CPlaceholderData Class Reference
class CPlaceholderData : public CBase
|
A helper class which encapsulates data needed for creating placeholder objects.
Constructor & Destructor Documentation
~CPlaceholderData()
~CPlaceholderData
|
(
|
)
|
[virtual]
|
Member Functions Documentation
ConstructL()
void
|
ConstructL
|
(
|
)
|
[protected]
|
MediaId()
IMPORT_C
TUint
|
MediaId
|
(
|
)
|
|
Returns MediaID which identifies the volume/drive where the file is located. Equals to
TVolumeInfo::iUniqueID
.
Modified()
IMPORT_C
TTime
|
Modified
|
(
|
)
|
|
NewL()
Second phase construction
Preinstalled()
IMPORT_C
TInt
|
Preinstalled
|
(
|
)
|
|
Returns whether file is pre-installed or not.
PresentState()
IMPORT_C
TInt
|
PresentState
|
(
|
)
|
|
Returns present state for the file.
SetFileSize(TUint32)
IMPORT_C void
|
SetFileSize
|
(
|
TUint32
|
aFileSize
|
)
|
|
SetMediaId(TUint)
IMPORT_C void
|
SetMediaId
|
(
|
TUint
|
aMediaId
|
)
|
|
Parameters
TUint
aMediaId
|
MediaID of the volume.
|
SetModified(TTime)
IMPORT_C void
|
SetModified
|
(
|
TTime
|
aModified
|
)
|
|
SetPreinstalled(TInt)
IMPORT_C void
|
SetPreinstalled
|
(
|
TInt
|
aValue
|
)
|
|
Sets whether file is pre-installed or not.
Parameters
TInt
aValue
|
Whether file is pre-installed or not.
|
SetPresentState(TInt)
IMPORT_C void
|
SetPresentState
|
(
|
TInt
|
aState
|
)
|
|
Sets present state for the file
Parameters
TInt
aState
|
Present state.
|
SetUri(const TDesC &)
IMPORT_C void
|
SetUri
|
(
|
const
TDesC
&
|
aUri
|
)
|
|
Sets URI of the file/item.
Parameters
const
TDesC
& aUri
|
URI of the file
|
Uri()
Returns URI of the file/item.
Member Data Documentation
TTime
iModified
TTime
|
iModified
|
[private]
|
TInt
iPreinstalled
TInt
|
iPreinstalled
|
[private]
|
TInt
iPresentState
TInt
|
iPresentState
|
[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.