Merge pull request #2222 from jwillemsen/jwi-dllexportwarning
[ACE_TAO.git] / TAO / tests / IDLv4 / annotations / be_init.cpp
blob61408a059fdd2e0dce71cc62edeb3f31785e3717
1 #include "tao/Version.h"
2 #include "ace/Log_Msg.h"
4 #include "global_extern.h"
5 #include "idl_version.h"
6 #include "drv_extern.h"
8 #include "be_extern.h"
10 void annotation_tests ();
12 void
13 BE_version ()
15 ACE_DEBUG ((LM_DEBUG,
16 ACE_TEXT ("annotest_idl version ") ACE_TEXT (TAO_VERSION)
17 ACE_TEXT ("\n")));
20 int
21 BE_init (int &, ACE_TCHAR *[])
23 ACE_NEW_RETURN (be_global, BE_GlobalData, -1);
25 // Enable Annotations
26 idl_global->default_idl_version_ = IDL_VERSION_4;
28 // Disable Trying to Parse File Arguments and creating File Output
29 idl_global->ignore_files_ = true;
31 return 0;
34 void
35 BE_post_init (char *[], long)
37 annotation_tests ();