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: LAWMO Interface |
|
15 * |
|
16 */ |
|
17 |
|
18 /** |
|
19 * C++ Destructor |
|
20 */ |
|
21 inline CLAWMOPluginInterface::~CLAWMOPluginInterface() |
|
22 { |
|
23 // Destroy any instance variables and then |
|
24 // inform the framework that this specific |
|
25 // instance of the interface has been destroyed. |
|
26 REComSession::DestroyedImplementation(iDtor_ID_Key); |
|
27 } |
|
28 |
|
29 /** |
|
30 * Create instance of CLAWMOPluginInterface |
|
31 * @param aUid , implementation Uid |
|
32 * @return Instance of CLAWMOPluginInterface |
|
33 */ |
|
34 inline CLAWMOPluginInterface* CLAWMOPluginInterface::NewL(TUid aUid, MLawmoPluginWipeObserver* aObserver) |
|
35 { |
|
36 TAny* ptr = REComSession::CreateImplementationL( aUid, _FOFF(CLAWMOPluginInterface, iDtor_ID_Key), aObserver); |
|
37 CLAWMOPluginInterface* self = reinterpret_cast<CLAWMOPluginInterface*>( ptr ); |
|
38 return self; |
|
39 } |
|
40 // |