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: Capsulating sql itemss |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 #include <e32std.h> |
|
24 #include "cmsqlvideoitem.h" |
|
25 #include "msdebug.h" |
|
26 |
|
27 // ======== LOCAL FUNCTIONS ======== |
|
28 // --------------------------------------------------------------------------- |
|
29 // NewL |
|
30 // --------------------------------------------------------------------------- |
|
31 // |
|
32 EXPORT_C CCmSqlVideoItem* CCmSqlVideoItem::NewL() |
|
33 { |
|
34 CCmSqlVideoItem* self = CCmSqlVideoItem::NewLC(); |
|
35 CleanupStack::Pop( self ); |
|
36 return self; |
|
37 } |
|
38 |
|
39 // --------------------------------------------------------------------------- |
|
40 // NewLC |
|
41 // --------------------------------------------------------------------------- |
|
42 // |
|
43 EXPORT_C CCmSqlVideoItem* CCmSqlVideoItem::NewLC() |
|
44 { |
|
45 CCmSqlVideoItem* self = new ( ELeave ) CCmSqlVideoItem(); |
|
46 CleanupStack::PushL( self ); |
|
47 self->ConstructL(); |
|
48 return self; |
|
49 } |
|
50 |
|
51 // --------------------------------------------------------------------------- |
|
52 // Destructor |
|
53 // --------------------------------------------------------------------------- |
|
54 // |
|
55 EXPORT_C CCmSqlVideoItem::~CCmSqlVideoItem() |
|
56 { |
|
57 } |
|
58 |
|
59 // --------------------------------------------------------------------------- |
|
60 // CCmSqlVideoItem::SetGenreId |
|
61 // --------------------------------------------------------------------------- |
|
62 // |
|
63 EXPORT_C void CCmSqlVideoItem::SetGenreId( const TInt64 aGenreId ) |
|
64 { |
|
65 iGenreId = aGenreId; |
|
66 } |
|
67 |
|
68 // --------------------------------------------------------------------------- |
|
69 // CCmSqlVideoItem::GenreId |
|
70 // --------------------------------------------------------------------------- |
|
71 // |
|
72 EXPORT_C TInt64 CCmSqlVideoItem::GenreId() const |
|
73 { |
|
74 return iGenreId; |
|
75 } |
|
76 |
|
77 // --------------------------------------------------------------------------- |
|
78 // Default constructor |
|
79 // --------------------------------------------------------------------------- |
|
80 // |
|
81 CCmSqlVideoItem::CCmSqlVideoItem() |
|
82 { |
|
83 } |
|
84 |
|
85 // --------------------------------------------------------------------------- |
|
86 // ConstructL |
|
87 // --------------------------------------------------------------------------- |
|
88 // |
|
89 void CCmSqlVideoItem::ConstructL() |
|
90 { |
|
91 } |
|
92 |
|
93 // End of file |
|
94 |
|