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: |
|
15 * |
|
16 */ |
|
17 |
|
18 // disable "identifier was truncated to '255' characters in the browser information" warning |
|
19 #pragma warning (disable:4786) |
|
20 |
|
21 // disable "decorated name length exceeded, name was truncated" warning |
|
22 #pragma warning (disable:4503) |
|
23 #ifndef DLLCREATOR_H |
|
24 #define DLLCREATOR_H |
|
25 |
|
26 #include <string> |
|
27 #include "MifHandler.h" |
|
28 #include <CdlCompilerToolkit/CdlTkInterface.h> |
|
29 #include <CdlCompilerToolkit/CdlTkInstance.h> |
|
30 using namespace std; |
|
31 using namespace CdlCompilerToolkit; |
|
32 |
|
33 class DllCreator |
|
34 { |
|
35 public: |
|
36 DllCreator(); |
|
37 void SetNameAndUid(const string& aDllName, const string& dllUid); |
|
38 void SetIndex(const MifIndex& index); |
|
39 void WriteSource(); |
|
40 void WriteDll(); |
|
41 private: |
|
42 CCdlTkInterface iInterface; |
|
43 CCdlTkInstance iInstance; |
|
44 string iName; |
|
45 int iUid; |
|
46 }; |
|
47 |
|
48 #endif |