|
1 /* |
|
2 * Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 // INCLUDE FILES |
|
21 #include <ContentListingFactory.h> |
|
22 #include "CCLFEngineImpl.h" |
|
23 #include "CCLFSortingStyleimpl.h" |
|
24 #include "CCLFItemImpl.h" |
|
25 |
|
26 // ============================ MEMBER FUNCTIONS =============================== |
|
27 |
|
28 // ----------------------------------------------------------------------------- |
|
29 // ContentListingFactory::NewContentListingEngineLC |
|
30 // ----------------------------------------------------------------------------- |
|
31 // |
|
32 EXPORT_C MCLFContentListingEngine* |
|
33 ContentListingFactory::NewContentListingEngineLC() |
|
34 { |
|
35 return CCLFEngineImpl::NewLC(); |
|
36 } |
|
37 |
|
38 // ----------------------------------------------------------------------------- |
|
39 // ContentListingFactory::NewModifiableItemLC |
|
40 // ----------------------------------------------------------------------------- |
|
41 // |
|
42 EXPORT_C MCLFModifiableItem* ContentListingFactory::NewModifiableItemLC() |
|
43 { |
|
44 CCLFModifiableItemImpl* item = CCLFModifiableItemImpl::NewL(); |
|
45 CleanupStack::PushL( item ); |
|
46 return item; |
|
47 } |
|
48 |
|
49 // ----------------------------------------------------------------------------- |
|
50 // ContentListingFactory::NewSortingStyleLC |
|
51 // ----------------------------------------------------------------------------- |
|
52 // |
|
53 EXPORT_C MCLFSortingStyle* ContentListingFactory::NewSortingStyleLC() |
|
54 { |
|
55 return CCLFSortingStyleImpl::NewLC(); |
|
56 } |
|
57 |
|
58 // ----------------------------------------------------------------------------- |
|
59 // ContentListingFactory::NewSortingStyleLC |
|
60 // ----------------------------------------------------------------------------- |
|
61 // |
|
62 EXPORT_C MCLFSortingStyle* ContentListingFactory::NewSortingStyleLC( |
|
63 TResourceReader& aResource ) |
|
64 { |
|
65 return CCLFSortingStyleImpl::NewLC( aResource ); |
|
66 } |
|
67 |
|
68 // End of File |