diff options
Diffstat (limited to 'CIAO/tools/Config_Handlers/RT-CCM/test.cpp')
-rw-r--r-- | CIAO/tools/Config_Handlers/RT-CCM/test.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/CIAO/tools/Config_Handlers/RT-CCM/test.cpp b/CIAO/tools/Config_Handlers/RT-CCM/test.cpp index 3ec97cab2ab..0476fddd6cc 100644 --- a/CIAO/tools/Config_Handlers/RT-CCM/test.cpp +++ b/CIAO/tools/Config_Handlers/RT-CCM/test.cpp @@ -7,16 +7,16 @@ #include "ciao/ServerResourcesC.h" #include "ace/Get_Opt.h" -#include "XML_Helper.h" +#include "Utils/XML_Typedefs.h" #include "tao/ORB.h" -static const ACE_TCHAR *input_file = ACE_TEXT ("BasicSP.cdp"); +static const char *input_file = "BasicSP.cdp"; static int -parse_args (int argc, ACE_TCHAR *argv[]) +parse_args (int argc, char *argv[]) { - ACE_Get_Opt get_opts (argc, argv, ACE_TEXT("i:")); + ACE_Get_Opt get_opts (argc, argv, "i:"); int c; @@ -53,7 +53,7 @@ int ACE_TMAIN (int argc, ACE_TCHAR *argv[]) //Create an XML_Helper for all the file work XML_Helper the_helper; - if (xercesc::DOMDocument *doc = the_helper.create_dom (ACE_TEXT_ALWAYS_CHAR (input_file))) + if (xercesc::DOMDocument *doc = the_helper.create_dom (input_file)) { //Read in the XSC type structure from the DOMDocument ServerResourcesDef srd = ServerResources (doc); @@ -79,7 +79,7 @@ int ACE_TMAIN (int argc, ACE_TCHAR *argv[]) ServerResources (*reverse_handler.srd_xsc (), the_xsc); // write out the result - the_helper.write_DOM (the_xsc, ACE_TEXT ("output.srd")); + the_helper.write_DOM (the_xsc, "output.srd"); } std::cout << "Test completed!"; |