diff options
author | danglassey <danglassey> | 2002-08-14 09:57:17 +0000 |
---|---|---|
committer | danglassey <danglassey> | 2002-08-14 09:57:17 +0000 |
commit | c9458897ebbb739d8db83c80e06512d8a612f743 (patch) | |
tree | f8c5381045887e34388cc6b26cfccc254bf766dc /include/swcacher.h | |
download | sword-sf-cvs-c9458897ebbb739d8db83c80e06512d8a612f743.tar.gz |
*** empty log message ***
Diffstat (limited to 'include/swcacher.h')
-rw-r--r-- | include/swcacher.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/include/swcacher.h b/include/swcacher.h new file mode 100644 index 0000000..f62adba --- /dev/null +++ b/include/swcacher.h @@ -0,0 +1,37 @@ +/****************************************************************************** + * swcacher.h - definition of class SWCacher used to provide an interface for + * objects that cache and want a standard interface for cleaning up. + * + * $Id: swcacher.h,v 1.2 2002/03/16 04:10:33 scribe Exp $ + * + * Copyright 1998 CrossWire Bible Society (http://www.crosswire.org) + * CrossWire Bible Society + * P. O. Box 2528 + * Tempe, AZ 85280-2528 + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the + * Free Software Foundation version 2. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + */ + +#ifndef SWCACHER_H +#define SWCACHER_H + +#include <defs.h> + +class SWDLLEXPORT SWCacher { +public: + SWCacher(); + virtual ~SWCacher(); + virtual void flush(); + virtual long resourceConsumption(); + virtual long lastAccess(); +}; + +#endif |