equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2002-2004 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: ?Description |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #include "CalenEditorsPlugin.h" |
|
20 |
|
21 //#include "CalenUids.hrh" |
|
22 // These are from CalenUids.hrh but the file is causing problems as it's not exported. |
|
23 #define KCalenEditorsImplementation 0x102071F4 // Calendar Default Editor Implementation UID |
|
24 |
|
25 #include <CalendarVariant.hrh> |
|
26 |
|
27 inline CCalenEditorsPlugin* CCalenEditorsPlugin::NewL() |
|
28 { |
|
29 TAny* interface = REComSession::CreateImplementationL(TUid::Uid(KCalenEditorsImplementation), _FOFF(CCalenEditorsPlugin, iDtor_ID_Key)); |
|
30 return reinterpret_cast<CCalenEditorsPlugin*>(interface); |
|
31 } |
|
32 |
|
33 inline CCalenEditorsPlugin::~CCalenEditorsPlugin() |
|
34 { |
|
35 REComSession::DestroyedImplementation( iDtor_ID_Key ); |
|
36 REComSession::FinalClose(); |
|
37 } |