ContentListingFactory Class Reference

class ContentListingFactory
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();
       
ContentListingFramework.lib
Since
S60 3.1

Constructor & Destructor Documentation

ContentListingFactory()

ContentListingFactory ( ) [private]

~ContentListingFactory()

~ContentListingFactory ( ) [private]

Member Functions Documentation

NewContentListingEngineLC()

IMPORT_C MCLFContentListingEngine * NewContentListingEngineLC ( ) [static]
Create new instance of Content Listing Engine.
Since
S60 3.1

NewModifiableItemLC()

IMPORT_C MCLFModifiableItem * NewModifiableItemLC ( ) [static]
Create new instance of Modifiable Item.
Since
S60 3.1

NewSortingStyleLC()

IMPORT_C MCLFSortingStyle * NewSortingStyleLC ( ) [static]
Create new instance of Sorting Style.
Since
S60 3.1

NewSortingStyleLC(TResourceReader &)

IMPORT_C MCLFSortingStyle * NewSortingStyleLC ( TResourceReader & aResource ) [static]
Create new instance of Sorting Style from resource of the application by using TResourceReader .
Since
S60 3.1

Parameters

TResourceReader & aResource Resource reader to sorting style resource. Use resource struct CLF_SORTING_STYLE. See CLFContentListing.rh