0
|
1 // Copyright (c) 1995 James Clark
|
|
2 // See the file COPYING for copying permission.
|
|
3 #pragma ident "@(#)ParserEventGeneratorKit.h 1.4 00/07/17 SMI"
|
|
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 */
|