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: |
|
15 * This file contains headers of HtiPluginDll class. |
|
16 */ |
|
17 #ifndef _HTI_PLUGIN_DLL_ |
|
18 #define _HTI_PLUGIN_DLL_ |
|
19 |
|
20 #include "DllModule.h" |
|
21 |
|
22 //forward |
|
23 struct soap; |
|
24 struct Namespace; |
|
25 class HtiSoapHandlerInterface; |
|
26 |
|
27 class HtiPluginDll : public CDLLModule |
|
28 { |
|
29 public: |
|
30 DECLARE_DLL_FUNCTION(int, __cdecl, |
|
31 serviceUID, (void)) |
|
32 DECLARE_DLL_FUNCTION(char*, __cdecl, |
|
33 soapActionName, (void)) |
|
34 DECLARE_DLL_FUNCTION(Namespace*, __cdecl, |
|
35 serviceNamespaces, (void)) |
|
36 DECLARE_DLL_FUNCTION(int, __cdecl, |
|
37 soap_serve_request, (soap *)) |
|
38 DECLARE_DLL_FUNCTION(int, __cdecl, |
|
39 hti_serve, (HtiSoapHandlerInterface*)) |
|
40 |
|
41 |
|
42 BEGIN_DLL_INIT() |
|
43 |
|
44 INIT_DLL_FUNCTION(int, __cdecl, |
|
45 serviceUID, (void), "serviceUID") |
|
46 INIT_DLL_FUNCTION(char*, __cdecl, |
|
47 soapActionName, (void), "soapActionName") |
|
48 INIT_DLL_FUNCTION(Namespace*, __cdecl, |
|
49 serviceNamespaces, (void), "serviceNamespaces") |
|
50 INIT_DLL_FUNCTION(int, __cdecl, |
|
51 soap_serve_request, (soap *), "soap_serve_request") |
|
52 INIT_DLL_FUNCTION(int, __cdecl, |
|
53 hti_serve, (HtiSoapHandlerInterface *), "hti_serve") |
|
54 |
|
55 END_DLL_INIT() |
|
56 }; |
|
57 |
|
58 #endif |
|