ContentListingFactory Class Reference
#include
<mw/ContentListingFactory.h>
Link against: ContentListingFramework.lib
class ContentListingFactory |
Detailed Description
Factory for Content Listing Framework. You can create new instances of Content Listing Engines, Modifiable items and Sorting Styles by using this factory. Example:
// Create a new instance of Content Listing Engine
MCLFContentListingEngine* engine =
ContentListingFactory::NewContentListingEngineLC();
// Create a new instance of Sorting style
MCLFSortingStyle* sortingStyle =
ContentListingFactory::NewSortingStyleLC();
// Create a new instance of Modifiable item
MCLFModifiableItem* modItem =
ContentListingFactory::NewModifiableItemLC();
Member Function Documentation
NewContentListingEngineLC ( )
Create new instance of Content Listing Engine.
- Since
- S60 3.1
Returns: New instance of Content Listing Engine. Ownership is transferred to the client application.
NewModifiableItemLC ( )
Create new instance of Modifiable Item.
- Since
- S60 3.1
Returns: New instance of Modifiable Item. Ownership is transferred to the client application.
NewSortingStyleLC ( )
Create new instance of Sorting Style.
- Since
- S60 3.1
Returns: New instance of the Sorting Style. Ownership is transferred to the client application.
NewSortingStyleLC ( TResourceReader & )
Create new instance of Sorting Style from resource of the application by using
TResourceReader.
- Since
- S60 3.1
Parameter | Description | aResource | Resource reader to sorting style resource. Use resource struct CLF_SORTING_STYLE. See CLFContentListing.rh |
Returns: New instance of the Sorting Style. Ownership is transferred to the client application.