4e87edd9d908ff7df99c152379dd58039a7ca946
[oweals/cde.git] / cde / programs / nsgmls / StringResource.h
1 /* $XConsortium: StringResource.h /main/1 1996/07/29 17:05:26 cde-hp $ */
2 // Copyright (c) 1994 James Clark
3 // See the file COPYING for copying permission.
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:
18   StringResource(const String<T> &s) : String<T>(s) { }
19 };
20
21 #ifdef SP_NAMESPACE
22 }
23 #endif
24
25 #endif /* not StringResource_INCLUDED */