summaryrefslogtreecommitdiff
path: root/trunk/TAO/TAO_IDL/be/be_init.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/TAO/TAO_IDL/be/be_init.cpp')
-rw-r--r--trunk/TAO/TAO_IDL/be/be_init.cpp31
1 files changed, 31 insertions, 0 deletions
diff --git a/trunk/TAO/TAO_IDL/be/be_init.cpp b/trunk/TAO/TAO_IDL/be/be_init.cpp
new file mode 100644
index 00000000000..65fee2a4821
--- /dev/null
+++ b/trunk/TAO/TAO_IDL/be/be_init.cpp
@@ -0,0 +1,31 @@
+// $Id$
+
+#include "global_extern.h"
+#include "be_extern.h"
+#include "../../tao/Version.h"
+
+TAO_IDL_BE_Export void
+BE_version (void)
+{
+ ACE_DEBUG ((LM_DEBUG,
+ "%s %s\n",
+ ACE_TEXT ("TAO_IDL_BE, version"),
+ ACE_TEXT (TAO_VERSION)));
+}
+
+TAO_IDL_BE_Export int
+BE_init (int &, char *[])
+{
+ // Initialize BE global data object.
+ ACE_NEW_RETURN (be_global,
+ BE_GlobalData,
+ -1);
+
+ return 0;
+}
+
+TAO_IDL_BE_Export void
+BE_post_init (char *[], long)
+{
+}
+