Merge pull request #2216 from jwillemsen/jwi-cxxversionchecks
[ACE_TAO.git] / ACE / ACEXML / apps / svcconf / Svcconf.h
blobf33314f0f782725ed587b6c5a1d16633b5c94696
1 /* -*- C++ -*- */
3 //=============================================================================
4 /**
5 * @file Svcconf.h
7 * @author Nanbor Wang <nanbor@cs.wustl.edu>
8 */
9 //=============================================================================
12 #ifndef ACEXML_SVCCONF_H
13 #define ACEXML_SVCCONF_H
15 #include /**/ "ace/pre.h"
16 #include "ace/XML_Svc_Conf.h"
17 #include "ACEXML/parser/parser/Parser.h"
18 #include "Svcconf_Handler.h"
20 #if (ACE_USES_CLASSIC_SVC_CONF == 0)
22 class ACEXML_Svcconf_Parser : public ACE_XML_Svc_Conf
24 public:
25 ACEXML_Svcconf_Parser ();
27 virtual ~ACEXML_Svcconf_Parser ();
29 virtual int parse_file (const ACE_TCHAR file[]);
31 virtual int parse_string (const ACE_TCHAR str[]);
33 protected:
34 ACEXML_Parser parser_;
35 ACEXML_Svcconf_Handler svcconf_handler_;
36 ACEXML_InputSource input_stream_;
39 #endif /* ACE_USES_CLASSIC_SVC_CONF == 0 */
41 #include /**/ "ace/post.h"
42 #endif /* ACEXML_SVCCONF_H */