#include "testC.h" class Smart_Test_Factory : public virtual TAO_Test_Default_Proxy_Factory { public: Smart_Test_Factory (); virtual Test_ptr create_proxy (Test_ptr proxy); // This method will create the smart_proxy. }; class Smart_Test_Proxy : public virtual TAO_Test_Smart_Proxy_Base { public: Smart_Test_Proxy (Test_ptr proxy); virtual CORBA::Short box_prices(); // "Smartify" the method call! private: CORBA::Short price_; };