|
1 /* |
|
2 * Copyright (c) 2006-2007 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: Main interface class to Thumbnail Manager. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #include "thumbnailmanagerimpl.h" |
|
20 |
|
21 // ======== MEMBER FUNCTIONS ======== |
|
22 |
|
23 // --------------------------------------------------------------------------- |
|
24 // CThumbnailManager* CThumbnailManager::NewL() |
|
25 // Two-phased constructor. |
|
26 // --------------------------------------------------------------------------- |
|
27 // |
|
28 EXPORT_C CThumbnailManager* CThumbnailManager::NewL( MThumbnailManagerObserver& |
|
29 aObserver ) |
|
30 { |
|
31 CThumbnailManager* self = CThumbnailManagerImpl::NewLC( aObserver ); |
|
32 CleanupStack::Pop( self ); |
|
33 return self; |
|
34 } |
|
35 |
|
36 // --------------------------------------------------------------------------- |
|
37 // CThumbnailManager* CThumbnailManager::NewLC() |
|
38 // Two-phased constructor. |
|
39 // --------------------------------------------------------------------------- |
|
40 // |
|
41 EXPORT_C CThumbnailManager* CThumbnailManager::NewLC( |
|
42 MThumbnailManagerObserver& aObserver ) |
|
43 { |
|
44 return CThumbnailManagerImpl::NewLC( aObserver ); |
|
45 } |
|
46 |
|
47 // --------------------------------------------------------------------------- |
|
48 // CThumbnailManager::~CThumbnailManager() |
|
49 // C++ default constructor can NOT contain any code, that might leave. |
|
50 // --------------------------------------------------------------------------- |
|
51 // |
|
52 CThumbnailManager::~CThumbnailManager() |
|
53 { |
|
54 // No implementation required |
|
55 } |
|
56 |
|
57 // End of file |