Merge pull request #2222 from jwillemsen/jwi-dllexportwarning
[ACE_TAO.git] / TAO / tests / Smart_Proxies / Smart_Proxy_Impl.h
blob9f44e9d5dc3a3e142fe28e2e13848d7b61726223
1 #include "testC.h"
2 #include "ace/SString.h"
4 class Smart_Test_Factory : public virtual TAO_Test_Default_Proxy_Factory
6 public:
7 Smart_Test_Factory ();
9 virtual Test_ptr create_proxy (Test_ptr proxy);
10 // This method will create the smart_proxy.
13 class Smart_Test_Proxy : public virtual TAO_Test_Smart_Proxy_Base
15 public:
16 Smart_Test_Proxy (Test_ptr proxy);
18 virtual bool can_convert_to_ior () const;
20 virtual char* convert_to_ior (bool use_omg_ior_format,
21 const char* ior_prefix) const;
23 virtual CORBA::Short method (CORBA::Short boo);
24 // "Smartify" the method call!
26 static const ACE_CString& fake_ior ();
28 // Don't need to add any extra functionality into <shutdown>, hence
29 // we don't define it.
30 private:
31 static ACE_CString fake_ior_;