e32tools/elf2e32/source/librarytarget.h
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 Header file for Class LibraryTarget of the elf2e32 tool
       
    15 // @internalComponent
       
    16 // @released
       
    17 // 
       
    18 //
       
    19 
       
    20 
       
    21 #if !defined(SYMBIAN_LIBRARYTARGET_H_)
       
    22 #define SYMBIAN_LIBRARYTARGET_H_
       
    23 
       
    24 #include "usecasebase.h"
       
    25 #include <list>
       
    26 
       
    27 class Symbol;
       
    28 class DSOHandler;
       
    29 class DefFile;
       
    30 typedef std::list<Symbol*> SymbolList;
       
    31 
       
    32 /**
       
    33 This class is derived from the base class UseCaseBase and is responsible for creation of
       
    34 Library Target.It passes the input DEF file to the DEFfile parser to get the Symbol list
       
    35 and then passes the Symbol List to the DSOHandler to generate the DSO file.
       
    36 
       
    37 @internalComponent
       
    38 @released
       
    39 */
       
    40 class LibraryTarget : public UseCaseBase
       
    41 {
       
    42 
       
    43 public:
       
    44 	LibraryTarget(ParameterListInterface* aParameterListInterface);
       
    45 	virtual ~LibraryTarget();
       
    46 	int Execute();
       
    47 	SymbolList* ReadInputDefFile();
       
    48 	void GenerateOutput(SymbolList* aSymList);
       
    49 
       
    50 private:
       
    51 	DSOHandler	*iElfIfc;
       
    52 	DefFile *iDefFile;
       
    53 };
       
    54 
       
    55 
       
    56 
       
    57 #endif // !defined(SYMBIAN_LIBRARYTARGET_H_)
       
    58