~ubuntu-branches/ubuntu/trusty/openjade1.3/trusty

« back to all changes in this revision

Viewing changes to include/StdioStorage.h

  • Committer: Bazaar Package Importer
  • Author(s): Yann Dirson
  • Date: 2002-04-09 00:01:50 UTC
  • Revision ID: james.westby@ubuntu.com-20020409000150-r9rkyalxlhvf9ba3
Tags: upstream-1.3.1
ImportĀ upstreamĀ versionĀ 1.3.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// Copyright (c) 1994, 1995 James Clark
 
2
// See the file COPYING for copying permission.
 
3
 
 
4
#ifndef StdioStorage_INCLUDED
 
5
#define StdioStorage_INCLUDED 1
 
6
#ifdef __GNUG__
 
7
#pragma interface
 
8
#endif
 
9
 
 
10
#include "StorageManager.h"
 
11
#include "DescriptorManager.h"
 
12
#include "StringC.h"
 
13
#include "CharsetInfo.h"
 
14
 
 
15
#ifdef SP_NAMESPACE
 
16
namespace SP_NAMESPACE {
 
17
#endif
 
18
 
 
19
class Messenger;
 
20
class CharsetInfo;
 
21
class UnivCharsetDesc;
 
22
class OutputCodingSystem;
 
23
 
 
24
class SP_API StdioStorageManager : public IdStorageManager {
 
25
public:
 
26
  StdioStorageManager(const char *type,
 
27
                      const CharsetInfo *filenameCharset,
 
28
                      const OutputCodingSystem *filenameCodingSystem);
 
29
  StorageObject *makeStorageObject(const StringC &id,
 
30
                                   const StringC &baseId,
 
31
                                   Boolean,
 
32
                                   Boolean mayRewind,
 
33
                                   Messenger &,
 
34
                                   StringC &foundId);
 
35
  const char *type() const;
 
36
private:
 
37
  StdioStorageManager(const StdioStorageManager &); // undefined
 
38
  void operator=(const StdioStorageManager &);      // undefined
 
39
  const OutputCodingSystem *filenameCodingSystem_;
 
40
  const char *type_;
 
41
};
 
42
 
 
43
#ifdef SP_NAMESPACE
 
44
}
 
45
#endif
 
46
 
 
47
#endif /* not StdioStorage_INCLUDED */