1 /* |
|
2 * Copyright (c) 2000 - 2001 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 the License "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: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #include "nw_evt_openviewereventi.h" |
|
20 #include "BrsrStatusCodes.h" |
|
21 |
|
22 /* ------------------------------------------------------------------------- * |
|
23 class definition |
|
24 * ------------------------------------------------------------------------- */ |
|
25 |
|
26 /* ------------------------------------------------------------------------- */ |
|
27 const |
|
28 NW_Evt_OpenViewerEvent_Class_t NW_Evt_OpenViewerEvent_Class = { |
|
29 { /* NW_Object_Core */ |
|
30 /* super */ &NW_Evt_Event_Class, |
|
31 /* queryInterface */ _NW_Object_Base_QueryInterface |
|
32 }, |
|
33 { /* NW_Object_Base */ |
|
34 /* interfaceList */ NULL |
|
35 }, |
|
36 { /* NW_Object_Dynamic */ |
|
37 /* instanceSize */ sizeof (NW_Evt_OpenViewerEvent_t), |
|
38 /* construct */ NULL, |
|
39 /* destruct */ NULL |
|
40 }, |
|
41 { /* NW_Evt_Event */ |
|
42 /* unused */ 0 |
|
43 }, |
|
44 { /* NW_Evt_OpenViewerEvent*/ |
|
45 /* unused */ 0 |
|
46 } |
|
47 }; |
|
48 |
|
49 /* ------------------------------------------------------------------------- * |
|
50 convenience functions |
|
51 * ------------------------------------------------------------------------- */ |
|
52 |
|
53 /* ------------------------------------------------------------------------- */ |
|
54 NW_Evt_OpenViewerEvent_t* |
|
55 NW_Evt_OpenViewerEvent_New (void) |
|
56 { |
|
57 return (NW_Evt_OpenViewerEvent_t*) NW_Object_New (&NW_Evt_OpenViewerEvent_Class); |
|
58 } |
|
59 |
|
60 TBrowserStatusCode |
|
61 NW_Evt_OpenViewerEvent_Initialize (NW_Evt_OpenViewerEvent_t* openViewerEvent) |
|
62 { |
|
63 return NW_Object_Initialize (&NW_Evt_OpenViewerEvent_Class, openViewerEvent); |
|
64 } |
|