Changeset 3246 for trunk/tools


Ignore:
Timestamp:
Mar 27, 2000, 12:18:42 PM (25 years ago)
Author:
bird
Message:

Added simple LX support.

Location:
trunk/tools/common
Files:
3 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/common/kFileFormatBase.h

    r824 r3246  
    1 /*
     1/* $Id: kFileFormatBase.h,v 1.2 2000-03-27 10:18:40 bird Exp $
     2 *
    23 * kFileFormatBase - Base class for kFile<format> classes.
    34 *
    4  * Copyright (c) 1999 knut st. osmundsen
     5 * Copyright (c) 1999-2000 knut st. osmundsen (knut.stange.osmundsen@pmsc.no)
     6 *
     7 * Project Odin Software License can be found in LICENSE.TXT
    58 *
    69 */
     10
    711#ifndef _kFileFormat_h_
    812#define _kFileFormat_h_
     
    3943class kFileFormatBase
    4044{
    41     public:
    42         virtual BOOL  queryModuleName(char *pszBuffer) = 0;
    43         virtual BOOL  findFirstExport(PEXPORTENTRY pExport) = 0;
    44         virtual BOOL  findNextExport(PEXPORTENTRY pExport)  = 0;
    45         virtual BOOL  isDef() const { return FALSE;}
    46         virtual BOOL  isPe() const  { return FALSE;}
     45public:
     46    virtual BOOL  queryModuleName(char *pszBuffer) = 0;
     47    virtual BOOL  findFirstExport(PEXPORTENTRY pExport) = 0;
     48    virtual BOOL  findNextExport(PEXPORTENTRY pExport)  = 0;
     49    virtual BOOL  isDef() const { return FALSE;}
     50    virtual BOOL  isPe() const  { return FALSE;}
     51    virtual BOOL  isLx() const  { return FALSE;}
     52
     53    static void * readfile(const char *pszFilename);
    4754};
    4855
  • trunk/tools/common/makefile.icc

    r2759 r3246  
    1 # $Id: makefile.icc,v 1.5 2000-02-11 18:35:53 bird Exp $
     1# $Id: makefile.icc,v 1.6 2000-03-27 10:18:42 bird Exp $
    22
    33#
     
    2323
    2424
    25 commonicc.lib: kFilePe.obj kFileDef.obj
     25commonicc.lib: kFilePe.obj kFileDef.obj kFileLx.obj kFileFormatBase.obj
    2626    -$(RM) $@
    27     $(AR) $@ -+kFilePe.obj -+kFileDef.obj, NUL;
     27    $(AR) $@ -+kFilePe.obj -+kFileDef.obj -+kFileLx.obj -+kFileFormatBase.obj, NUL;
    2828
    2929
Note: See TracChangeset for help on using the changeset viewer.