diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 2001-12-08 21:59:30 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 2001-12-08 21:59:30 +0000 |
commit | b11770b30f8b58d20fe2d61846bfa3fc5354ee7e (patch) | |
tree | 6939cf1ed0a80ce8a3224d33f3d23c0e1b9a517f /TAO/tests/Smart_Proxies/Smart_Proxy_Impl.h | |
parent | 8fd5b8293423d91c699711bce0f3551cb8c20a69 (diff) | |
download | ATCD-b11770b30f8b58d20fe2d61846bfa3fc5354ee7e.tar.gz |
Merged corba-env-clean branch.
Diffstat (limited to 'TAO/tests/Smart_Proxies/Smart_Proxy_Impl.h')
-rw-r--r-- | TAO/tests/Smart_Proxies/Smart_Proxy_Impl.h | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/TAO/tests/Smart_Proxies/Smart_Proxy_Impl.h b/TAO/tests/Smart_Proxies/Smart_Proxy_Impl.h index 09e9f3677ed..838a34b97ae 100644 --- a/TAO/tests/Smart_Proxies/Smart_Proxy_Impl.h +++ b/TAO/tests/Smart_Proxies/Smart_Proxy_Impl.h @@ -7,22 +7,20 @@ class Smart_Test_Factory : public virtual TAO_Test_Default_Proxy_Factory public: Smart_Test_Factory (void); - - virtual Test_ptr create_proxy (Test_ptr proxy, - CORBA::Environment &env = - TAO_default_environment ()); - // This method will create the smart_proxy. + + virtual Test_ptr create_proxy (Test_ptr proxy + TAO_ENV_ARG_DECL_WITH_DEFAULTS); + // This method will create the smart_proxy. }; -class Smart_Test_Proxy : public virtual TAO_Test_Smart_Proxy_Base +class Smart_Test_Proxy : public virtual TAO_Test_Smart_Proxy_Base { public: Smart_Test_Proxy (Test_ptr proxy); - virtual CORBA::Short method (CORBA::Short boo, - CORBA::Environment &ACE_TRY_ENV = - TAO_default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException, + virtual CORBA::Short method (CORBA::Short boo + TAO_ENV_ARG_DECL_WITH_DEFAULTS) + ACE_THROW_SPEC ((CORBA::SystemException, Test::Oops)); // "Smartify" the method call! |