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

Added simple LX support.

File:
1 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
Note: See TracChangeset for help on using the changeset viewer.