3065 some functions in the tcp module can be static
[unleashed.git] / usr / src / cmd / man / src / util / nsgmls.src / include / StringResource.h
blob114e4070ca8c857227e9e62329ae1415e7331f90
1 // Copyright (c) 1994 James Clark
2 // See the file COPYING for copying permission.
3 #pragma ident "%Z%%M% %I% %E% SMI"
5 #ifndef StringResource_INCLUDED
6 #define StringResource_INCLUDED 1
8 #include "StringOf.h"
9 #include "Resource.h"
11 #ifdef SP_NAMESPACE
12 namespace SP_NAMESPACE {
13 #endif
15 template<class T>
16 class StringResource : public String<T>, public Resource {
17 public:
18 StringResource(const String<T> &s) : String<T>(s) { }
21 #ifdef SP_NAMESPACE
23 #endif
25 #endif /* not StringResource_INCLUDED */