00001 /* 00002 * HT Editor 00003 * htxbehead.h 00004 * 00005 * Copyright (C) 2003 Stefan Esser 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 __HTXBEHEAD_H__ 00022 #define __HTXBEHEAD_H__ 00023 00024 #include "formats.h" 00025 00026 extern format_viewer_if htxbeheader_if; 00027 00028 /* 00029 * ht_xbe_header_viewer 00030 */ 00031 class ht_xbe_header_viewer: public ht_uformat_viewer { 00032 public: 00033 void init(bounds *b, char *desc, int caps, ht_streamfile *file, ht_format_group *group); 00034 /* overwritten */ 00035 virtual int ref_sel(LINE_ID *id); 00036 }; 00037 00038 #endif /* !__HTXBEHEAD_H__ */