1 // Copyright (c) 1994 James Clark 2 // See the file COPYING for copying permission. 3 #pragma ident "%Z%%M% %I% %E% SMI" 4 5 #ifndef StringResource_INCLUDED 6 #define StringResource_INCLUDED 1 7 8 #include "StringOf.h" 9 #include "Resource.h" 10 11 #ifdef SP_NAMESPACE 12 namespace SP_NAMESPACE { 13 #endif 14 15 template<class T> 16 class StringResource : public String<T>, public Resource { 17 public: StringResource(const String<T> & s)18 StringResource(const String<T> &s) : String<T>(s) { } 19 }; 20 21 #ifdef SP_NAMESPACE 22 } 23 #endif 24 25 #endif /* not StringResource_INCLUDED */ 26