1 // Copyright (c) 1996 James Clark
2 // See the file COPYING for copying permission.
3 #pragma ident	"%Z%%M%	%I%	%E% SMI"
4 
5 #ifndef LiteralStorage_INCLUDED
6 #define LiteralStorage_INCLUDED 1
7 #ifdef __GNUG__
8 #pragma interface
9 #endif
10 
11 #include "StorageManager.h"
12 
13 #ifdef SP_NAMESPACE
14 namespace SP_NAMESPACE {
15 #endif
16 
17 class SP_API LiteralStorageManager : public StorageManager {
18 public:
19   LiteralStorageManager(const char *type);
20   StorageObject *makeStorageObject(const StringC &id,
21 				   const StringC &,
22 				   Boolean,
23 				   Boolean mayRewind,
24 				   Messenger &,
25 				   StringC &found);
26   const InputCodingSystem *requiredCodingSystem() const;
27   Boolean requiresCr() const;
28   const char *type() const;
29   Boolean inheritable() const;
30 private:
31   LiteralStorageManager(const LiteralStorageManager &); // undefined
32   void operator=(const LiteralStorageManager &);	// undefined
33 
34   const char *type_;
35 };
36 
37 #ifdef SP_NAMESPACE
38 }
39 #endif
40 
41 #endif /* not LiteralStorage_INCLUDED */
42