5
|
1 |
/*
|
|
2 |
* Copyright (c) 2007-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 the License "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: Contains functionality common to media files
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
|
|
19 |
#include <mclfitem.h>
|
|
20 |
#include <liwvariant.h>
|
|
21 |
|
|
22 |
#include "mgmediafile.h"
|
|
23 |
|
|
24 |
|
|
25 |
// ---------------------------------------------------------------------------
|
|
26 |
// CMgMediaFile::NewL
|
|
27 |
// Two-phased constructor
|
|
28 |
// ---------------------------------------------------------------------------
|
|
29 |
//
|
|
30 |
|
|
31 |
CMgMediaFile* CMgMediaFile::NewL()
|
|
32 |
{
|
|
33 |
|
|
34 |
return new( ELeave ) CMgMediaFile();
|
|
35 |
|
|
36 |
}
|
|
37 |
|
|
38 |
|
|
39 |
// ---------------------------------------------------------------------------
|
|
40 |
// CMgMediaFile::FillInfoL
|
|
41 |
// Fills the attributes specific to image and sound files
|
|
42 |
// ---------------------------------------------------------------------------
|
|
43 |
//
|
|
44 |
|
|
45 |
void CMgMediaFile::FillInfoL( CLiwDefaultMap *aOutputMap, const MCLFItem& aClfItem )
|
|
46 |
{
|
|
47 |
|
|
48 |
FillCommonAttributesL( aOutputMap, aClfItem );
|
|
49 |
|
|
50 |
}
|
|
51 |
|
|
52 |
|
|
53 |
|
|
54 |
|
|
55 |
|
|
56 |
|
|
57 |
|
|
58 |
|