00001 /* 00002 * ============================================================================== 00003 * Name : ContentListingFactory.h 00004 * Part of : Content Listing Framework 00005 * Interface : SDK, Content Listing Framework API 00006 * Description : 00007 * Version : 00008 * 00009 * Copyright © 2002-2004 Nokia. All rights reserved. 00010 * This material, including documentation and any related 00011 * computer programs, is protected by copyright controlled by 00012 * Nokia. All rights are reserved. Copying, including 00013 * reproducing, storing, adapting or translating, any 00014 * or all of this material requires the prior written consent of 00015 * Nokia. This material also contains confidential 00016 * information which may not be disclosed to others without the 00017 * prior written consent of Nokia. 00018 * ============================================================================== 00019 */ 00020 00021 00022 #ifndef CONTENTLISTINGFACTORY_H 00023 #define CONTENTLISTINGFACTORY_H 00024 00025 // INCLUDES 00026 #include <e32def.h> 00027 00028 // FORWARD DECLARATIONS 00029 class MCLFContentListingEngine; 00030 class MCLFModifiableItem; 00031 class MCLFSortingStyle; 00032 class TResourceReader; 00033 00034 // CLASS DECLARATION 00035 00058 class ContentListingFactory 00059 { 00060 public: // New functions 00061 00068 IMPORT_C static MCLFContentListingEngine* NewContentListingEngineLC(); 00069 00076 IMPORT_C static MCLFModifiableItem* NewModifiableItemLC(); 00077 00084 IMPORT_C static MCLFSortingStyle* NewSortingStyleLC(); 00085 00096 IMPORT_C static MCLFSortingStyle* NewSortingStyleLC( 00097 TResourceReader& aResource ); 00098 00099 private: 00100 // Prohibit C++ default constructor. 00101 ContentListingFactory(); 00102 // Prohibit Destructor. 00103 ~ContentListingFactory(); 00104 00105 }; 00106 00107 // CONTENTLISTINGFACTORY_H 00108 #endif 00109 00110 // End of File