Merge pull request #2216 from jwillemsen/jwi-cxxversionchecks
[ACE_TAO.git] / ACE / examples / Web_Crawler / URL_Visitor_Factory.cpp
blob8978411ddea0eb17d3b31039480186cfd7a9faab
1 /* -*- C++ -*- */
2 #include "URL_Visitor_Factory.h"
4 URL_Visitor_Factory::~URL_Visitor_Factory ()
8 URL_Visitor *
9 URL_Validation_Visitor_Factory::make_visitor ()
11 URL_Visitor *v;
13 ACE_NEW_RETURN (v,
14 URL_Validation_Visitor,
15 0);
17 return v;
20 Command_Processor *
21 URL_Validation_Visitor_Factory::make_command_processor ()
23 Command_Processor *cp;
25 ACE_NEW_RETURN (cp,
26 Command_Processor,
27 0);
28 return cp;
31 URL_Visitor *
32 URL_Download_Visitor_Factory::make_visitor ()
34 URL_Visitor *v;
36 ACE_NEW_RETURN (v,
37 URL_Download_Visitor,
38 0);
39 return v;
42 Command_Processor *
43 URL_Download_Visitor_Factory::make_command_processor ()
45 return 0;