Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

htmz.h

Go to the documentation of this file.
00001 /* 
00002  *      HT Editor
00003  *      htmz.h
00004  *
00005  *      Copyright (C) 1999-2002 Stefan Weyergraf (stefan@weyergraf.de)
00006  *
00007  *      This program is free software; you can redistribute it and/or modify
00008  *      it under the terms of the GNU General Public License version 2 as
00009  *      published by the Free Software Foundation.
00010  *
00011  *      This program is distributed in the hope that it will be useful,
00012  *      but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  *      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014  *      GNU General Public License for more details.
00015  *
00016  *      You should have received a copy of the GNU General Public License
00017  *      along with this program; if not, write to the Free Software
00018  *      Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
00019  */
00020 
00021 #ifndef __HTMZ_H__
00022 #define __HTMZ_H__
00023 
00024 #include "formats.h"
00025 
00026 #include "mzstruct.h"
00027 
00028 #define DESC_MZ "mz - dos exe"
00029 #define DESC_MZ_HEADER "mz/header"
00030 #define DESC_MZ_REL "mz/relocations"
00031 #define DESC_MZ_IMAGE "mz/image"
00032 
00033 extern format_viewer_if htmz_if;
00034 
00035 struct ht_mz_shared_data {
00036         IMAGE_MZ_HEADER header;
00037 };
00038 
00039 class ht_mz: public ht_format_group {
00040 protected:
00041         bool loc_enum;
00042 public:
00043 
00044                         void    init(bounds *b, ht_streamfile *file, format_viewer_if **ifs, ht_format_group *format_group);
00045         virtual void done();
00046 /* overwritten */
00047         virtual   void loc_enum_start();
00048         virtual   bool loc_enum_next(ht_format_loc *loc);
00049 };
00050 
00051 #endif /* !__HTMZ_H__ */

Generated on Fri May 7 21:15:35 2004 by doxygen 1.3.5