equal
deleted
inserted
replaced
|
1 // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // Implementation of the Class StdExeTarget for the elf2e32 tool |
|
15 // @internalComponent |
|
16 // @released |
|
17 // |
|
18 // |
|
19 |
|
20 #include "stdexe_target.h" |
|
21 |
|
22 /** |
|
23 Constructor for the StdExeTarget Class |
|
24 |
|
25 @internalComponent |
|
26 @released |
|
27 */ |
|
28 StdExeTarget::StdExeTarget(ParameterListInterface* aParameterListInterface): |
|
29 ExportTypeFBTarget(aParameterListInterface) |
|
30 { |
|
31 } |
|
32 |
|
33 /** |
|
34 Destructor for the StdExeTarget Class |
|
35 |
|
36 @internalComponent |
|
37 @released |
|
38 */ |
|
39 StdExeTarget::~StdExeTarget(){ |
|
40 |
|
41 } |
|
42 |
|
43 /** |
|
44 Function to check if the provided input is a DLL. |
|
45 |
|
46 @internalComponent |
|
47 @released |
|
48 |
|
49 @result False since StdExe Target is an Exe. |
|
50 */ |
|
51 bool StdExeTarget::ImageIsDll() |
|
52 { |
|
53 return false; |
|
54 } |
|
55 |
|
56 /** |
|
57 Function to check if writable data is allowed. |
|
58 |
|
59 @internalComponent |
|
60 @released |
|
61 |
|
62 @result True, since STDEXE targets can have writable data |
|
63 */ |
|
64 bool StdExeTarget::AllowDllData() |
|
65 { |
|
66 return true; |
|
67 } |
|
68 |
|
69 /** |
|
70 Function to write E32 image. Here, no def file or Dso file is generated. |
|
71 |
|
72 @internalComponent |
|
73 @released |
|
74 |
|
75 @result void |
|
76 */ |
|
77 void StdExeTarget::GenerateOutput() |
|
78 { |
|
79 WriteE32(); |
|
80 } |
|
81 |
|
82 bool StdExeTarget::WarnForNewExports() |
|
83 { |
|
84 return false; |
|
85 } |
|
86 |
|
87 |