diff options
Diffstat (limited to 'TAO/TAO_IDL/util/utl_global.cpp')
-rw-r--r-- | TAO/TAO_IDL/util/utl_global.cpp | 60 |
1 files changed, 16 insertions, 44 deletions
diff --git a/TAO/TAO_IDL/util/utl_global.cpp b/TAO/TAO_IDL/util/utl_global.cpp index 289c045e94b..b8783829f18 100644 --- a/TAO/TAO_IDL/util/utl_global.cpp +++ b/TAO/TAO_IDL/util/utl_global.cpp @@ -108,10 +108,8 @@ IDL_GlobalData::IDL_GlobalData (void) pd_parse_state (PS_NoState), pd_idl_src_file (0), changing_standard_include_files_ (1), - skel_export_macro_ (0), - skel_export_include_ (0), - stub_export_macro_ (0), - stub_export_include_ (0), + export_macro_ (0), + export_include_ (0), pch_include_ (0), client_hdr_ending_ (ACE::strnew ("C.h")), client_stub_ending_ (ACE::strnew ("C.cpp")), @@ -1012,62 +1010,30 @@ IDL_GlobalData::be_get_server_template_inline_fname (int base_name_only) } const char* -IDL_GlobalData::skel_export_macro (void) const +IDL_GlobalData::export_macro (void) const { - if (this->skel_export_macro_ == 0) + if (this->export_macro_ == 0) return ""; - return this->skel_export_macro_; + return this->export_macro_; } void -IDL_GlobalData::skel_export_macro (const char *s) +IDL_GlobalData::export_macro (const char *s) { - this->skel_export_macro_ = ACE_OS::strdup (s); + this->export_macro_ = ACE_OS::strdup (s); } const char* -IDL_GlobalData::skel_export_include (void) const +IDL_GlobalData::export_include (void) const { - return this->skel_export_include_; -} - -void -IDL_GlobalData::skel_export_include (const char *s) -{ - this->skel_export_include_ = ACE_OS::strdup (s); -} - -const char* -IDL_GlobalData::stub_export_macro (void) const -{ - if (this->stub_export_macro_ == 0) - return ""; - return this->stub_export_macro_; -} - -void -IDL_GlobalData::stub_export_macro (const char *s) -{ - this->stub_export_macro_ = ACE_OS::strdup (s); -} - -const char* -IDL_GlobalData::stub_export_include (void) const -{ - return this->stub_export_include_; -} - -void -IDL_GlobalData::stub_export_include (const char *s) -{ - this->stub_export_include_ = ACE_OS::strdup (s); + return this->export_include_; } const char* IDL_GlobalData::pch_include (void) const { return this->pch_include_; -} +} void IDL_GlobalData::pch_include (const char *s) @@ -1075,6 +1041,12 @@ IDL_GlobalData::pch_include (const char *s) this->pch_include_ = ACE_OS::strdup (s); } +void +IDL_GlobalData::export_include (const char *s) +{ + this->export_include_ = ACE_OS::strdup (s); +} + // Set the client_hdr_ending. void IDL_GlobalData::client_hdr_ending (const char* s) |