Initial import of the CDE 2.1.30 sources from the Open Group.
[oweals/cde.git] / cde / programs / nsgmls / SdFormalError.h
1 /* $XConsortium: SdFormalError.h /main/1 1996/07/29 17:03:49 cde-hp $ */
2 // Copyright (c) 1994 James Clark
3 // See the file COPYING for copying permission.
4
5 #ifndef SdFormalError_INCLUDED
6 #define SdFormalError_INCLUDED 1
7
8 #include "Link.h"
9 #include "StringC.h"
10 #include "Message.h"
11 #include "Location.h"
12
13 #ifdef SP_NAMESPACE
14 namespace SP_NAMESPACE {
15 #endif
16
17 class ParserState;
18
19 class SdFormalError : public Link {
20 public:
21   SdFormalError(const Location &, const MessageType1 &, const StringC &);
22   void send(ParserState &);
23 private:
24   const MessageType1 *message_;
25   Location location_;
26   StringC id_;
27 };
28
29 #ifdef SP_NAMESPACE
30 }
31 #endif
32
33 #endif /* not SdFormalError_INCLUDED */