ContentListingFactory Class Reference

API published in: S60 3rd Ed FP 1

Link against: contentlistingframework.lib

Capability Information

Required Capabilities

None


#include <contentlistingfactory.h>

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();

Static Public Member Functions

static IMPORT_C MCLFContentListingEngine NewContentListingEngineLC ()
  Create new instance of Content Listing Engine.
static IMPORT_C MCLFModifiableItem NewModifiableItemLC ()
  Create new instance of Modifiable Item.
static IMPORT_C MCLFSortingStyle NewSortingStyleLC ()
  Create new instance of Sorting Style.
static IMPORT_C MCLFSortingStyle NewSortingStyleLC (TResourceReader &aResource)
  Create new instance of Sorting Style from resource of the application by using TResourceReader.

Member Function Documentation

static IMPORT_C MCLFContentListingEngine* ContentListingFactory::NewContentListingEngineLC  )  [static]
 

Create new instance of Content Listing Engine.

Returns:
New instance of Content Listing Engine. Ownership is transferred to the client application.
static IMPORT_C MCLFModifiableItem* ContentListingFactory::NewModifiableItemLC  )  [static]
 

Create new instance of Modifiable Item.

Returns:
New instance of Modifiable Item. Ownership is transferred to the client application.
static IMPORT_C MCLFSortingStyle* ContentListingFactory::NewSortingStyleLC TResourceReader &  aResource  )  [static]
 

Create new instance of Sorting Style from resource of the application by using TResourceReader.

Parameters:
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.
static IMPORT_C MCLFSortingStyle* ContentListingFactory::NewSortingStyleLC  )  [static]
 

Create new instance of Sorting Style.

Returns:
New instance of the Sorting Style. Ownership is transferred to the client application.

The documentation for this class was generated from the following file:

Copyright © Nokia Corporation 2001-2008
Back to top