summaryrefslogtreecommitdiff
path: root/CIAO/tools/IDL3_to_IDL2/be_init.cpp
blob: c0e7b8c2e545e156ae53ef67af4e8daa70a5d0ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// $Id$

#include "global_extern.h"
#include "be_extern.h"
#include "../../ciao/Version.h"

TAO_IDL3_TO_IDL2_BE_Export void
BE_version (void)
{
  ACE_DEBUG ((LM_DEBUG,
              "%s %s\n",
              ACE_TEXT ("TAO_ID3_TO_IDL2_BE, version"),
              ACE_TEXT (CIAO_VERSION)));
}

TAO_IDL3_TO_IDL2_BE_Export int
BE_init (int & /* argc */, char * /* argv */ [])
{
  // Initialize BE global data object.
  ACE_NEW_RETURN (be_global,
                  BE_GlobalData,
                  -1);

  idl_global->pass_orb_idl (true);
  return 0;
}

TAO_IDL3_TO_IDL2_BE_Export void
BE_post_init (char * /* files */ [], long /* nfiles */)
{
}