1*0Sstevel@tonic-gate // Copyright (c) 1996 James Clark 2*0Sstevel@tonic-gate // See the file COPYING for copying permission. 3*0Sstevel@tonic-gate #pragma ident "%Z%%M% %I% %E% SMI" 4*0Sstevel@tonic-gate 5*0Sstevel@tonic-gate #ifndef WinInetStorage_INCLUDED 6*0Sstevel@tonic-gate #define WinInetStorage_INCLUDED 1 7*0Sstevel@tonic-gate 8*0Sstevel@tonic-gate #include "StorageManager.h" 9*0Sstevel@tonic-gate 10*0Sstevel@tonic-gate #ifdef SP_NAMESPACE 11*0Sstevel@tonic-gate namespace SP_NAMESPACE { 12*0Sstevel@tonic-gate #endif 13*0Sstevel@tonic-gate 14*0Sstevel@tonic-gate class SP_API WinInetStorageManager : public IdStorageManager { 15*0Sstevel@tonic-gate public: 16*0Sstevel@tonic-gate WinInetStorageManager(const char *type); 17*0Sstevel@tonic-gate ~WinInetStorageManager(); 18*0Sstevel@tonic-gate StorageObject *makeStorageObject(const StringC &id, 19*0Sstevel@tonic-gate const StringC &baseId, 20*0Sstevel@tonic-gate Boolean search, 21*0Sstevel@tonic-gate Boolean mayRewind, 22*0Sstevel@tonic-gate Messenger &, 23*0Sstevel@tonic-gate StringC &found); 24*0Sstevel@tonic-gate const char *type() const; 25*0Sstevel@tonic-gate Boolean guessIsId(const StringC &, const CharsetInfo &) const; 26*0Sstevel@tonic-gate Boolean transformNeutral(StringC &, Boolean fold, Messenger &) const; 27*0Sstevel@tonic-gate private: 28*0Sstevel@tonic-gate Boolean resolveRelative(const StringC &base, StringC &specId, Boolean) const; 29*0Sstevel@tonic-gate WinInetStorageManager(const WinInetStorageManager &); // undefined 30*0Sstevel@tonic-gate void operator=(const WinInetStorageManager &); // undefined 31*0Sstevel@tonic-gate Boolean initSession(); 32*0Sstevel@tonic-gate const char *type_; 33*0Sstevel@tonic-gate void *session_; 34*0Sstevel@tonic-gate }; 35*0Sstevel@tonic-gate 36*0Sstevel@tonic-gate #ifdef SP_NAMESPACE 37*0Sstevel@tonic-gate } 38*0Sstevel@tonic-gate #endif 39*0Sstevel@tonic-gate 40*0Sstevel@tonic-gate #endif /* not WinInetStorage_INCLUDED */ 41