Mercurial > illumos > onarm
annotate usr/src/cmd/man/src/util/nsgmls.src/generic/ParserEventGeneratorKit.h @ 13:f60a82e85167 default tip
Revert NEC's changes to fix krb5 build
author | Andrew Stormont <andyjstormont@gmail.com> |
---|---|
date | Fri, 02 Mar 2012 22:25:26 +0000 |
parents | 1a15d5aaf794 |
children |
rev | line source |
---|---|
0 | 1 // Copyright (c) 1995 James Clark |
2 // See the file COPYING for copying permission. | |
4
1a15d5aaf794
synchronized with onnv_86 (6202) in onnv-gate
Koji Uno <koji.uno@sun.com>
parents:
0
diff
changeset
|
3 #pragma ident "%Z%%M% %I% %E% SMI" |
0 | 4 |
5 #ifndef ParserEventGeneratorKit_INCLUDED | |
6 #define ParserEventGeneratorKit_INCLUDED 1 | |
7 | |
8 #ifdef __GNUG__ | |
9 #pragma interface | |
10 #endif | |
11 | |
12 #include "EventGenerator.h" | |
13 | |
14 class ParserEventGeneratorKitImpl; | |
15 | |
16 class SP_API ParserEventGeneratorKit { | |
17 public: | |
18 ParserEventGeneratorKit(); | |
19 ~ParserEventGeneratorKit(); | |
20 enum Option { | |
21 showOpenEntities, | |
22 showOpenElements, | |
23 outputCommentDecls, | |
24 outputMarkedSections, | |
25 outputGeneralEntities, | |
26 mapCatalogDocument | |
27 }; | |
28 enum OptionWithArg { | |
29 addCatalog, | |
30 includeParam, | |
31 enableWarning, | |
32 addSearchDir, | |
33 activateLink, | |
34 architecture // not implemented | |
35 }; | |
36 void setOption(Option); | |
37 #ifdef SP_WIDE_SYSTEM | |
38 void setProgramName(const wchar_t *); | |
39 void setOption(OptionWithArg, const wchar_t *); | |
40 EventGenerator *makeEventGenerator(int nFiles, wchar_t *const *files); | |
41 #else | |
42 void setProgramName(const char *); | |
43 void setOption(OptionWithArg, const char *); | |
44 EventGenerator *makeEventGenerator(int nFiles, char *const *files); | |
45 #endif | |
46 private: | |
47 ParserEventGeneratorKit(const ParserEventGeneratorKit &); // undefined | |
48 void operator=(const ParserEventGeneratorKit &); // undefined | |
49 | |
50 ParserEventGeneratorKitImpl *impl_; | |
51 }; | |
52 | |
53 #endif /* not ParserEventGeneratorKit_INCLUDED */ |