00001 /* 00002 * HT Editor 00003 * htperes.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 __HTPERES_H__ 00022 #define __HTPERES_H__ 00023 00024 #include "httree.h" 00025 00026 /* 00027 * CLASS ht_pe_resource_viewer 00028 */ 00029 00030 class ht_pe_resource_viewer: public ht_static_treeview { 00031 private: 00032 /* new */ 00033 virtual Object *vstate_create(); 00034 bool vstate_save(); 00035 virtual void vstate_restore(Object *d); 00036 public: 00037 void init(bounds *b, char *desc); 00038 virtual void done(); 00039 /* overwritten */ 00040 virtual void handlemsg(htmsg *msg); 00041 virtual void select_node(void *node); 00042 }; 00043 00044 extern format_viewer_if htperesources_if; 00045 00046 #endif /* __HTPERES_H__ */