Revert "Use a variable on the stack to not have a temporary in the call"
[ACE_TAO.git] / TAO / tests / Smart_Proxies / Collocation / Smart_Proxy_Impl.h
blob043a501e6a48bf776e3b37fbbe466cc1535a1f7d
1 //
2 #ifndef SMART_PROXY_IMPL_H
3 #define SMART_PROXY_IMPL_H
5 #include "DiamondC.h"
6 #include "stub_export.h"
8 class MY_Stub_Export Smart_Diamond_Top_Factory : public virtual Diamond::TAO_Diamond_Top_Default_Proxy_Factory
10 public:
11 Smart_Diamond_Top_Factory ();
13 virtual Diamond::Top_ptr create_proxy (Diamond::Top_ptr proxy);
15 // This method will create the smart_proxy.
19 class MY_Stub_Export Smart_Diamond_Top_Proxy : public virtual Diamond::TAO_Diamond_Top_Smart_Proxy_Base
21 public:
22 Smart_Diamond_Top_Proxy (Diamond::Top_ptr proxy);
24 virtual char * shape ();
25 // Smartify the method call!
27 // Dont need to add any extra functionality into shutdown()
28 // hence neednt define it.
30 #endif /*SMART_PROXY_IMPL_H*/