From 18e6e20a62dd370b4cdd171b38fd39924a19e61e Mon Sep 17 00:00:00 2001 From: mk1 Date: Thu, 9 Apr 1998 15:37:29 +0000 Subject: The Quoter inherits now from the LifeCycleObject. No implementations yet! --- TAO/tests/Quoter/quoter.idl | 2 +- TAO/tests/Quoter/quoter_impl.cpp | 18 ++++++++++++++++++ TAO/tests/Quoter/quoter_impl.h | 13 +++++++++++++ 3 files changed, 32 insertions(+), 1 deletion(-) (limited to 'TAO/tests') diff --git a/TAO/tests/Quoter/quoter.idl b/TAO/tests/Quoter/quoter.idl index bee836d0297..c7f1f1b69de 100644 --- a/TAO/tests/Quoter/quoter.idl +++ b/TAO/tests/Quoter/quoter.idl @@ -19,7 +19,7 @@ module Stock exception Invalid_Stock {}; exception Invalid_Quoter {}; - interface Quoter + interface Quoter : CosLifeCycle::LifeCycleObject { // = TITLE // Access Stock information. diff --git a/TAO/tests/Quoter/quoter_impl.cpp b/TAO/tests/Quoter/quoter_impl.cpp index fd93cf30277..2c992dd91ad 100644 --- a/TAO/tests/Quoter/quoter_impl.cpp +++ b/TAO/tests/Quoter/quoter_impl.cpp @@ -72,4 +72,22 @@ void Quoter_Impl::destroy (CORBA::Environment &env) +CosLifeCycle::LifeCycleObject_ptr +Quoter_Impl::copy (CosLifeCycle::FactoryFinder_ptr there, + const CosLifeCycle::Criteria & the_criteria, + CORBA::Environment &_tao_environment) { + return 0; +} + +void +Quoter_Impl::move (CosLifeCycle::FactoryFinder_ptr there, + const CosLifeCycle::Criteria & the_criteria, + CORBA::Environment &_tao_environment) { + +} + +void +Quoter_Impl::remove (CORBA::Environment &_tao_environment) { + +} diff --git a/TAO/tests/Quoter/quoter_impl.h b/TAO/tests/Quoter/quoter_impl.h index 6adf9fbcb81..186d23f3d88 100644 --- a/TAO/tests/Quoter/quoter_impl.h +++ b/TAO/tests/Quoter/quoter_impl.h @@ -43,6 +43,19 @@ public: CORBA::Environment &env); virtual void destroy (CORBA_Environment &env); + + virtual CosLifeCycle::LifeCycleObject_ptr copy ( + CosLifeCycle::FactoryFinder_ptr there, + const CosLifeCycle::Criteria & the_criteria, + CORBA::Environment &_tao_environment); + + virtual void move ( + CosLifeCycle::FactoryFinder_ptr there, + const CosLifeCycle::Criteria & the_criteria, + CORBA::Environment &_tao_environment); + + virtual void remove ( + CORBA::Environment &_tao_environment); }; class Quoter_Factory_Impl; -- cgit v1.2.1