e32tools/elf2e32/source/exetarget.cpp
changeset 0 044383f39525
equal deleted inserted replaced
-1:000000000000 0:044383f39525
       
     1 // Copyright (c) 2004-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 ExeTarget for the elf2e32 tool
       
    15 // @internalComponent
       
    16 // @released
       
    17 // 
       
    18 //
       
    19 
       
    20 #include "exetarget.h"
       
    21 
       
    22 /**
       
    23 Constructor for the ExeTarget Class
       
    24 
       
    25 @internalComponent
       
    26 @released
       
    27 */
       
    28 ExeTarget::ExeTarget(ParameterListInterface* aParameterListInterface):
       
    29 ElfFileSupplied(aParameterListInterface)
       
    30 {
       
    31 }
       
    32 
       
    33 /**
       
    34 Destructor for the ExeTarget Class
       
    35 
       
    36 @internalComponent
       
    37 @released
       
    38 */
       
    39 ExeTarget::~ExeTarget()
       
    40 {
       
    41 }
       
    42 
       
    43 /**
       
    44 Function to process the symbols to be exported. This function is empty since there are no
       
    45 exports in case of EXE Target. However, this dummy implementation is included since
       
    46 this is a virtual function in ElfFileSuplied Class.
       
    47  
       
    48 @internalComponent
       
    49 @released
       
    50 */
       
    51 void ExeTarget::ProcessExports()
       
    52 {
       
    53 }
       
    54 
       
    55 /**
       
    56 Function to generate the output E32 image.
       
    57  
       
    58 @internalComponent
       
    59 @released
       
    60 */
       
    61 void ExeTarget::GenerateOutput()
       
    62 {
       
    63 	WriteE32();
       
    64 }
       
    65 
       
    66 /**
       
    67 Function to check if the provided input is a DLL.
       
    68  
       
    69 @internalComponent
       
    70 @released
       
    71 
       
    72 @result False since EXE Target is not a DLL.
       
    73 */
       
    74 bool ExeTarget::ImageIsDll()
       
    75 {
       
    76 	return false;
       
    77 }