1 // Copyright (c) 1996 James Clark
2 // See the file COPYING for copying permission.
3 #pragma ident	"%Z%%M%	%I%	%E% SMI"
4 
5 #ifndef MessageTable_INCLUDED
6 #define MessageTable_INCLUDED 1
7 
8 #ifdef __GNUG__
9 #pragma interface
10 #endif
11 
12 #include "Message.h"
13 #include "Boolean.h"
14 #include "StringC.h"
15 #include "sptchar.h"
16 
17 #ifdef SP_NAMESPACE
18 namespace SP_NAMESPACE {
19 #endif
20 
21 class SP_API MessageTable {
22 public:
23   static const MessageTable *instance();
24   virtual Boolean getText(const MessageFragment &,
25 			  String<SP_TCHAR> &) const = 0;
26 private:
27   static MessageTable *instance_;
28 };
29 
30 #ifdef SP_NAMESPACE
31 }
32 #endif
33 
34 #endif /* not MessageTable_INCLUDED */
35