CStreamingLinkModel Class Reference
class CStreamingLinkModel : public CBase
|
Constructor & Destructor Documentation
CStreamingLinkModel()
CStreamingLinkModel
|
(
|
)
|
[private]
|
~CStreamingLinkModel()
IMPORT_C
|
~CStreamingLinkModel
|
(
|
)
|
[virtual]
|
Member Functions Documentation
AreAllLinksLocal()
IMPORT_C
TBool
|
AreAllLinksLocal
|
(
|
)
|
|
Returns if all the links in the file are local @
ConstructL()
void
|
ConstructL
|
(
|
)
|
[private]
|
By default Symbian 2nd phase constructor is private.
CreateNewLinkFileL(const TDesC &, MDesCArray *, TBool)
IMPORT_C
TInt
|
CreateNewLinkFileL
|
(
|
const
TDesC
&
|
aNewLinkFileName,
|
|
MDesCArray *
|
aLinkArray,
|
|
TBool
|
aOverWrite = EFalse
|
|
)
|
|
Creates new RAM file
-
Since
-
2.0
Parameters
const
TDesC
& aNewLinkFileName
|
|
MDesCArray * aLinkArray
|
|
TBool
aOverWrite = EFalse
|
|
FileHandleExists(RFile &)
TBool
|
FileHandleExists
|
(
|
RFile
&
|
aFile
|
)
|
[private]
|
Determines presence of file handle.
-
Since
-
9.2
Parameters
RFile
& aFile
|
file handle
|
FreeFilehandle()
IMPORT_C void
|
FreeFilehandle
|
(
|
)
|
|
Frees model's filehandle.
-
Since
-
3.0
GetNextLinkL(TDes &, TBool &, TBool)
Gets next link from opened RAM file.
-
Since
-
2.0
IsSeekable()
IMPORT_C
TBool
|
IsSeekable
|
(
|
)
|
|
MaxLinkLength()
IMPORT_C
TInt
|
MaxLinkLength
|
(
|
)
|
|
Returns max link length in opened RAM file
-
Since
-
2.0
MultiLinksCount()
IMPORT_C
TInt
|
MultiLinksCount
|
(
|
)
|
|
Returns number of links in opened RAM file
-
Since
-
3.2
OpenAsxFileL(const TDesC &, TBool)
IMPORT_C
TInt
|
OpenAsxFileL
|
(
|
const
TDesC
&
|
aLinkFileName,
|
|
TBool
|
aEnableFiltering = ETrue
|
|
)
|
|
Opens and reads ASX file to buffer.
-
Since
-
9.2
Parameters
const
TDesC
& aLinkFileName
|
Asx file
|
TBool
aEnableFiltering = ETrue
|
|
OpenAsxFileL(RFile &, TBool)
IMPORT_C
TInt
|
OpenAsxFileL
|
(
|
RFile
&
|
aFile,
|
|
TBool
|
aEnableFiltering = ETrue
|
|
)
|
|
Opens and reads ASX file to buffer.
-
Since
-
9.2
Parameters
RFile
& aFile
|
file handle
|
TBool
aEnableFiltering = ETrue
|
|
OpenLinkFileL(const TDesC &, TBool)
IMPORT_C
TInt
|
OpenLinkFileL
|
(
|
const
TDesC
&
|
aLinkFileName,
|
|
TBool
|
aEnableFiltering = ETrue
|
|
)
|
|
Opens and reads RAM file to buffer.
-
Since
-
2.0
Parameters
const
TDesC
& aLinkFileName
|
|
TBool
aEnableFiltering = ETrue
|
|
OpenLinkFileL(RFile &, TBool)
IMPORT_C
TInt
|
OpenLinkFileL
|
(
|
RFile
&
|
aFile,
|
|
TBool
|
aEnableFiltering = ETrue
|
|
)
|
|
Opens and reads RAM file to buffer.
-
Since
-
9.2
Parameters
RFile
& aFile
|
file handle
|
TBool
aEnableFiltering = ETrue
|
|
PopulateAsxLinksL(CAsxParser *, TBool)
TInt
|
PopulateAsxLinksL
|
(
|
CAsxParser *
|
aAsxParser,
|
|
TBool
|
aEnableFiltering
|
|
)
|
[private]
|
Parse the Asx file and add the link(s) to buffer.
-
Since
-
9.2
Parameters
CAsxParser * aAsxParser
|
|
TBool
aEnableFiltering
|
|
PopulateRamLinksL(RFile, TBool)
TInt
|
PopulateRamLinksL
|
(
|
RFile
|
aRamFile,
|
|
TBool
|
aEnableFiltering
|
|
)
|
[private]
|
Parse the ram file and add the link(s) to buffer.
-
Since
-
9.2
ReadNextLine(TDes &)
TInt
|
ReadNextLine
|
(
|
TDes
&
|
aLine
|
)
|
[private]
|
Reads next line from buffer
-
Since
-
2.0
Parameters
TDes
& aLine
|
Whole line which was read.
|
ResetLinkCount()
IMPORT_C void
|
ResetLinkCount
|
(
|
)
|
|
Reset number of links in opened RAM file for Repeat playlist
-
Since
-
3.2
Member Data Documentation
MCLFContentListingEngine * iCLFEngine
MCLFContentListingEngine *
|
iCLFEngine
|
[private]
|
RFile
iFileHandle
RFile
|
iFileHandle
|
[private]
|
RPointerArray< LinkStruct > iLinkArray
TInt
iLinkCount
TInt
|
iLinkCount
|
[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.