|
Last change
on this file since 5702 was 5531, checked in by bird, 25 years ago |
|
Second iteration of the kFile* classes and interfaces.
|
|
File size:
1.2 KB
|
| Line | |
|---|
| 1 | /* $Id: kFileFormatBase.h,v 1.5 2001-04-17 00:26:11 bird Exp $
|
|---|
| 2 | *
|
|---|
| 3 | * kFileFormatBase - Base class for kFile<format> classes.
|
|---|
| 4 | *
|
|---|
| 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
|
|---|
| 8 | *
|
|---|
| 9 | */
|
|---|
| 10 |
|
|---|
| 11 | #ifndef _kFileFormat_h_
|
|---|
| 12 | #define _kFileFormat_h_
|
|---|
| 13 |
|
|---|
| 14 | /******************************************************************************
|
|---|
| 15 | * Defined Constants *
|
|---|
| 16 | ******************************************************************************/
|
|---|
| 17 | #define ORD_START_INTERNAL_FUNCTIONS 1200
|
|---|
| 18 |
|
|---|
| 19 |
|
|---|
| 20 | /******************************************************************************
|
|---|
| 21 | * Structures and Typedefs *
|
|---|
| 22 | ******************************************************************************/
|
|---|
| 23 | #pragma pack(4)
|
|---|
| 24 |
|
|---|
| 25 | class kFile;
|
|---|
| 26 |
|
|---|
| 27 |
|
|---|
| 28 | /**
|
|---|
| 29 | * Base class for file formats.
|
|---|
| 30 | * @author knut st. osmundsen
|
|---|
| 31 | */
|
|---|
| 32 | class kFileFormatBase
|
|---|
| 33 | {
|
|---|
| 34 | public:
|
|---|
| 35 | virtual BOOL isDef() const { return FALSE;}
|
|---|
| 36 | virtual BOOL isPe() const { return FALSE;}
|
|---|
| 37 | virtual BOOL isLx() const { return FALSE;}
|
|---|
| 38 | virtual BOOL dump(kFile *pOut);
|
|---|
| 39 | };
|
|---|
| 40 |
|
|---|
| 41 | #pragma pack()
|
|---|
| 42 |
|
|---|
| 43 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.