diff options
Diffstat (limited to 'TAO/performance-tests/Memory/IORsize/Foo_i.h')
-rw-r--r-- | TAO/performance-tests/Memory/IORsize/Foo_i.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/TAO/performance-tests/Memory/IORsize/Foo_i.h b/TAO/performance-tests/Memory/IORsize/Foo_i.h new file mode 100644 index 00000000000..7640b9d7579 --- /dev/null +++ b/TAO/performance-tests/Memory/IORsize/Foo_i.h @@ -0,0 +1,32 @@ +// +// $Id$ +// +#ifndef FOO_I_H +#define FOO_I_H +#include /**/ "ace/pre.h" + +#include "TestS.h" + +#if defined (_MSC_VER) +# pragma warning(push) +# pragma warning (disable:4250) +#endif /* _MSC_VER */ + +/// Implement the Test::Hello interface +class Foo_i + : public virtual POA_Test::Foo +{ +public: + Foo_i (CORBA::ORB_ptr p) + : orb_ (CORBA::ORB::_duplicate (p)) {} + +private: + CORBA::ORB_var orb_; +}; + +#if defined(_MSC_VER) +# pragma warning(pop) +#endif /* _MSC_VER */ + +#include /**/ "ace/post.h" +#endif /*FOO_I_H*/ |