Initial import of the CDE 2.1.30 sources from the Open Group.

This commit is contained in:
Peter Howkins
2012-03-10 18:21:40 +00:00
commit 83b6996daa
18978 changed files with 3945623 additions and 0 deletions

View File

@@ -0,0 +1,40 @@
/* $XConsortium: URLStorage.h /main/1 1996/07/29 17:07:06 cde-hp $ */
// Copyright (c) 1995 James Clark
// See the file COPYING for copying permission.
#ifndef URLStorage_INCLUDED
#define URLStorage_INCLUDED 1
#ifdef __GNUG__
#pragma interface
#endif
#include "StorageManager.h"
#ifdef SP_NAMESPACE
namespace SP_NAMESPACE {
#endif
class SP_API URLStorageManager : public IdStorageManager {
public:
URLStorageManager(const char *type);
StorageObject *makeStorageObject(const StringC &id,
const StringC &baseId,
Boolean search,
Boolean mayRewind,
Messenger &,
StringC &found);
const char *type() const;
Boolean guessIsId(const StringC &, const CharsetInfo &) const;
Boolean transformNeutral(StringC &, Boolean fold, Messenger &) const;
private:
Boolean resolveRelative(const StringC &base, StringC &specId, Boolean) const;
URLStorageManager(const URLStorageManager &); // undefined
void operator=(const URLStorageManager &); // undefined
const char *type_;
};
#ifdef SP_NAMESPACE
}
#endif
#endif /* not URLStorage_INCLUDED */