Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

rawfiles.h

00001 /******************************************************************************
00002  *  rawfiles.h - code for class 'RawFiles'- a module that produces HTML HREFs
00003  *                      pointing to actual text desired.  Uses standard
00004  *                      files:  ot and nt using indexs ??.bks ??.cps ??.vss
00005  *
00006  * $Id: rawfiles_h-source.html,v 1.4 2001/10/05 20:45:21 mgruner Exp $
00007  *
00008  * Copyright 1998 CrossWire Bible Society (http://www.crosswire.org)
00009  *      CrossWire Bible Society
00010  *      P. O. Box 2528
00011  *      Tempe, AZ  85280-2528
00012  *
00013  * This program is free software; you can redistribute it and/or modify it
00014  * under the terms of the GNU General Public License as published by the
00015  * Free Software Foundation version 2.
00016  *
00017  * This program is distributed in the hope that it will be useful, but
00018  * WITHOUT ANY WARRANTY; without even the implied warranty of
00019  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00020  * General Public License for more details.
00021  *
00022  */
00023 
00024 #ifndef RAWFILES_H
00025 #define RAWFILES_H
00026 
00027 #include <rawverse.h>
00028 #include <swcom.h>
00029 
00030 #include <defs.h>
00031 
00032 class SWDLLEXPORT RawFiles:public RawVerse, public SWCom
00033 {
00034   char *versebuf;
00035 
00036   char *getnextfilename ();
00037 
00038 public:
00039   
00040     
00041     RawFiles (const char *ipath, const char *iname = 0, const char *idesc =
00042               0, SWDisplay * idisp = 0, bool unicode = false);
00043     virtual ~RawFiles ();
00044   virtual char *getRawEntry ();
00045 
00046   // write interface ----------------------------
00050   virtual bool isWritable () {
00051     return true;
00052   }
00053   
00058   static char createModule (const char *);
00059   
00064   virtual SWModule & operator << (const char *);
00065   
00070   virtual SWModule & operator << (const SWKey *);
00071   
00075   virtual void deleteEntry ();
00076   // end write interface ------------------------
00077 };
00078 
00079 
00080 #endif

Generated at Fri Oct 5 22:45:32 2001 for The Sword Project by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001