LiteralStorage.h 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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: LiteralStorage.h /main/1 1996/07/29 16:56:13 cde-hp $ */
  24. // Copyright (c) 1996 James Clark
  25. // See the file COPYING for copying permission.
  26. #ifndef LiteralStorage_INCLUDED
  27. #define LiteralStorage_INCLUDED 1
  28. #ifdef __GNUG__
  29. #pragma interface
  30. #endif
  31. #include "StorageManager.h"
  32. #ifdef SP_NAMESPACE
  33. namespace SP_NAMESPACE {
  34. #endif
  35. class SP_API LiteralStorageManager : public StorageManager {
  36. public:
  37. LiteralStorageManager(const char *type);
  38. StorageObject *makeStorageObject(const StringC &id,
  39. const StringC &,
  40. Boolean,
  41. Boolean mayRewind,
  42. Messenger &,
  43. StringC &found);
  44. const InputCodingSystem *requiredCodingSystem() const;
  45. Boolean requiresCr() const;
  46. const char *type() const;
  47. Boolean inheritable() const;
  48. private:
  49. LiteralStorageManager(const LiteralStorageManager &); // undefined
  50. void operator=(const LiteralStorageManager &); // undefined
  51. const char *type_;
  52. };
  53. #ifdef SP_NAMESPACE
  54. }
  55. #endif
  56. #endif /* not LiteralStorage_INCLUDED */