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

htpeexp.h

Go to the documentation of this file.
00001 /* 
00002  *      HT Editor
00003  *      htpeexp.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 __HTPEEXP_H__
00022 #define __HTPEEXP_H__
00023 
00024 #include "htdata.h"
00025 #include "htdialog.h"
00026 #include "formats.h"
00027 
00028 extern format_viewer_if htpeexports_if;
00029 
00030 /*
00031  *      CLASS ht_pe_export_viewer
00032  */
00033 
00034 class ht_pe_export_viewer: public ht_itext_listbox {
00035 protected:
00036         ht_format_group *format_group;
00037 public:
00038                         void    init(bounds *b, ht_format_group *fg);
00039         virtual void    done();
00040 /* overwritten */
00041         virtual void handlemsg(htmsg *msg);
00042         virtual bool select_entry(void *entry);
00043 /* new */
00044                         char *func(UINT i, bool execute);
00045 };
00046 
00047 /*
00048  *      CLASS ht_pe_export_function
00049  */
00050 
00051 class ht_pe_export_function: public Object {
00052 public:
00053         UINT ordinal;
00054 
00055         bool byname;
00056         char *name;
00057         RVA address;
00058 
00059         ht_pe_export_function(RVA address, UINT ordinal);
00060         ht_pe_export_function(RVA address, UINT ordinal, char *name);
00061         ~ht_pe_export_function();
00062 };
00063 
00064 struct ht_pe_export {
00065         ht_clist *funcs;
00066 };
00067 
00068 #endif /* !__HTPEEXP_H__ */

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