equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2009 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: Avkon fixture ECom plugin interface definition. |
|
15 * Implementation for ECom instantiation functionality. |
|
16 * |
|
17 */ |
|
18 |
|
19 #include <ecom/implementationinformation.h> |
|
20 |
|
21 inline CTasFixturePluginInterface* CTasFixturePluginInterface::NewL( |
|
22 TUid aImplementationUid ) |
|
23 { |
|
24 #ifdef _DEBUG |
|
25 RDebug::Print( _L( "=> CTasFixturePluginInterface::NewL" ) ); |
|
26 #endif |
|
27 |
|
28 TAny* ptr = REComSession::CreateImplementationL( |
|
29 aImplementationUid, |
|
30 _FOFF( CTasFixturePluginInterface, iImplementation ) ); |
|
31 |
|
32 #ifdef _DEBUG |
|
33 RDebug::Print( _L( "<= CTasFixturePluginInterface::NewL" ) ); |
|
34 #endif |
|
35 return reinterpret_cast<CTasFixturePluginInterface*>( ptr ); |
|
36 } |
|
37 |
|
38 inline CTasFixturePluginInterface::~CTasFixturePluginInterface() |
|
39 { |
|
40 REComSession::DestroyedImplementation( iImplementation ); |
|
41 } |
|
42 |
|
43 // End of File |