author | Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com> |
Tue, 24 Nov 2009 08:56:33 +0200 | |
changeset 33 | 50974a8b132e |
parent 19 | 989d2f495d90 |
permissions | -rw-r--r-- |
19 | 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 specific to video files |
|
15 |
* |
|
16 |
*/ |
|
17 |
||
18 |
||
19 |
||
33
50974a8b132e
Revision: 200945
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
20 |
#include <MCLFItem.h> |
19 | 21 |
#include <e32base.h> |
22 |
#include <liwvariant.h> |
|
23 |
||
24 |
#include "mgvideofile.h" |
|
25 |
||
26 |
_LIT8( KMgSongName, "SongName" ); |
|
27 |
_LIT8( KMgArtist, "Artist" ); |
|
28 |
||
29 |
// --------------------------------------------------------------------------- |
|
30 |
// CMgVideoFile::NewL |
|
31 |
// Two-phased constructor |
|
32 |
// --------------------------------------------------------------------------- |
|
33 |
// |
|
34 |
||
35 |
CMgVideoFile* CMgVideoFile::NewL() |
|
36 |
{ |
|
37 |
CMgVideoFile* self = new( ELeave ) CMgVideoFile(); |
|
38 |
return self; |
|
39 |
} |
|
40 |
||
41 |
// --------------------------------------------------------------------------- |
|
42 |
// CMgVideoFile::FillInfo |
|
43 |
// Fills the attributes specific to video files |
|
44 |
// --------------------------------------------------------------------------- |
|
45 |
// |
|
46 |
void CMgVideoFile::FillInfo( CLiwDefaultMap *aOutputMap, const MCLFItem& aClfItem ) |
|
47 |
{ |
|
48 |
TPtrC artist; //artist of video file |
|
49 |
TPtrC title; //title of video file |
|
50 |
FillCommonAttributes( aOutputMap, aClfItem ); |
|
51 |
aOutputMap->InsertL( KMgArtist,TLiwVariant( artist ) ); |
|
52 |
aOutputMap->InsertL( KMgSongName,TLiwVariant( title ) ); |
|
53 |
} |
|
54 |
||
55 |
||
56 |
||
57 |
||
58 |
||
59 |
||
60 |
||
61 |