nsgmls: remove register keyword
[oweals/cde.git] / cde / programs / nsgmls / StorageManager.C
1 /*
2  * CDE - Common Desktop Environment
3  *
4  * Copyright (c) 1993-2012, The Open Group. All rights reserved.
5  *
6  * These libraries and programs are free software; you can
7  * redistribute them and/or modify them under the terms of the GNU
8  * Lesser General Public License as published by the Free Software
9  * Foundation; either version 2 of the License, or (at your option)
10  * any later version.
11  *
12  * These libraries and programs are distributed in the hope that
13  * they will be useful, but WITHOUT ANY WARRANTY; without even the
14  * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15  * PURPOSE. See the GNU Lesser General Public License for more
16  * details.
17  *
18  * You should have received a copy of the GNU Lesser General Public
19  * License along with these libraries and programs; if not, write
20  * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
21  * Floor, Boston, MA 02110-1301 USA
22  */
23 /* $XConsortium: StorageManager.C /main/1 1996/07/29 17:04:57 cde-hp $ */
24 // Copyright (c) 1994 James Clark
25 // See the file COPYING for copying permission.
26
27 #ifdef __GNUG__
28 #pragma implementation
29 #endif
30 #include "splib.h"
31 #include "StorageManager.h"
32 #define DEFAULT_BLOCK_SIZE 1024
33
34 #ifdef SP_NAMESPACE
35 namespace SP_NAMESPACE {
36 #endif
37
38 StorageObject::StorageObject()
39 {
40 }
41
42 StorageObject::~StorageObject()
43 {
44 }
45
46 void StorageObject::willNotRewind()
47 {
48 }
49
50 size_t StorageObject::getBlockSize() const
51 {
52   return DEFAULT_BLOCK_SIZE;
53 }
54
55 StorageManager::StorageManager()
56 {
57 }
58
59 StorageManager::~StorageManager()
60 {
61 }
62
63 Boolean StorageManager::inheritable() const
64 {
65   return 1;
66 }
67
68 Boolean StorageManager::resolveRelative(const StringC &, StringC &,
69                                         Boolean) const
70 {
71   return 1;
72 }
73
74 Boolean StorageManager::guessIsId(const StringC &, const CharsetInfo &) const
75 {
76   return 0;
77 }
78
79 Boolean StorageManager::transformNeutral(StringC &, Boolean, Messenger &) const
80 {
81   return 0;
82 }
83
84 const InputCodingSystem *StorageManager::requiredCodingSystem() const
85 {
86   return 0;
87 }
88
89 Boolean StorageManager::requiresCr() const
90 {
91   return 0;
92 }
93
94 const CharsetInfo *StorageManager::idCharset() const
95 {
96   return 0;
97 }
98
99 const StringC *StorageManager::reString() const
100 {
101   return 0;
102 }
103
104 IdStorageManager::IdStorageManager(const UnivCharsetDesc &idCharset)
105 : idCharset_(idCharset)
106 {
107 }
108
109 const CharsetInfo *IdStorageManager::idCharset() const
110 {
111   return &idCharset_;
112 }
113
114 const StringC *IdStorageManager::reString() const
115 {
116   return &reString_;
117 }
118
119
120 #ifdef SP_NAMESPACE
121 }
122 #endif