equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2006 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: Media Fetch Implementation API |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 // INCLUDE FILES |
|
20 #include <ecom/ecom.h> |
|
21 |
|
22 // ----------------------------------------------------------------------------- |
|
23 // ?implementation_description |
|
24 // ----------------------------------------------------------------------------- |
|
25 // |
|
26 inline CMediaFetchImplementation* CMediaFetchImplementation::NewL( |
|
27 const TUid& aImplementationUid ) |
|
28 { |
|
29 TAny* ptr = REComSession::CreateImplementationL( |
|
30 aImplementationUid, |
|
31 _FOFF( CMediaFetchImplementation, iDtor_ID_Key ) ); |
|
32 |
|
33 return reinterpret_cast<CMediaFetchImplementation*>(ptr); |
|
34 } |
|
35 |
|
36 |
|
37 // ----------------------------------------------------------------------------- |
|
38 // ?implementation_description |
|
39 // ----------------------------------------------------------------------------- |
|
40 // |
|
41 inline CMediaFetchImplementation::~CMediaFetchImplementation() |
|
42 { |
|
43 if( iDtor_ID_Key.iUid != 0 ) |
|
44 { |
|
45 REComSession::DestroyedImplementation( iDtor_ID_Key ); |
|
46 } |
|
47 } |