summaryrefslogtreecommitdiff
path: root/modules/CIAO/tools/Config_Handlers/XML_File_Intf.h
diff options
context:
space:
mode:
Diffstat (limited to 'modules/CIAO/tools/Config_Handlers/XML_File_Intf.h')
-rw-r--r--modules/CIAO/tools/Config_Handlers/XML_File_Intf.h56
1 files changed, 56 insertions, 0 deletions
diff --git a/modules/CIAO/tools/Config_Handlers/XML_File_Intf.h b/modules/CIAO/tools/Config_Handlers/XML_File_Intf.h
new file mode 100644
index 00000000000..fd086836b78
--- /dev/null
+++ b/modules/CIAO/tools/Config_Handlers/XML_File_Intf.h
@@ -0,0 +1,56 @@
+//==============================================================
+/**
+ * @file XML_File_Intf.h
+ *
+ * $Id$
+ *
+ * @author Bala Natarajan <bala@dre.vanderbilt.edu>
+ */
+//================================================================
+
+#ifndef CIAO_CONFIG_XML_FILE_INTF_H
+#define CIAO_CONFIG_XML_FILE_INTF_H
+#include /**/ "ace/pre.h"
+
+#include "Config_Handlers_Export.h"
+
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+# pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
+#include "ace/Auto_Ptr.h"
+
+#include <string>
+
+namespace Deployment
+{
+ struct DeploymentPlan ;
+}
+
+namespace CIAO
+{
+ namespace Config_Handlers
+ {
+ class Config_Handlers_Export XML_File_Intf
+ {
+ public:
+ XML_File_Intf (const ACE_TCHAR *file);
+
+ ::Deployment::DeploymentPlan const *get_plan (void);
+ ::Deployment::DeploymentPlan *release_plan (void);
+
+ void add_search_path (const ACE_TCHAR *environment,
+ const ACE_TCHAR *relpath);
+
+ protected:
+
+ bool read_process_file (const ACE_TCHAR *file);
+
+ private:
+ std::basic_string <ACE_TCHAR> file_;
+ ACE_Auto_Ptr< ::Deployment::DeploymentPlan> idl_dp_;
+ };
+ }
+}
+#include /**/ "ace/post.h"
+#endif /*CIAO_CONFIG_XML_FILE_INTF_H*/