1 // Copyright (c) 1995 James Clark 2 // See the file COPYING for copying permission. 3 #pragma ident "%Z%%M% %I% %E% SMI" 4 5 #ifndef URLStorage_INCLUDED 6 #define URLStorage_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 URLStorageManager : public IdStorageManager { 18 public: 19 URLStorageManager(const char *type); 20 StorageObject *makeStorageObject(const StringC &id, 21 const StringC &baseId, 22 Boolean search, 23 Boolean mayRewind, 24 Messenger &, 25 StringC &found); 26 const char *type() const; 27 Boolean guessIsId(const StringC &, const CharsetInfo &) const; 28 Boolean transformNeutral(StringC &, Boolean fold, Messenger &) const; 29 private: 30 Boolean resolveRelative(const StringC &base, StringC &specId, Boolean) const; 31 URLStorageManager(const URLStorageManager &); // undefined 32 void operator=(const URLStorageManager &); // undefined 33 const char *type_; 34 }; 35 36 #ifdef SP_NAMESPACE 37 } 38 #endif 39 40 #endif /* not URLStorage_INCLUDED */ 41