Revert "Use a variable on the stack to not have a temporary in the call"
[ACE_TAO.git] / TAO / tests / Bug_2183_Regression / Hello.h
blobf5d4054e05f0b1d662293cd4bb94851b68953291
2 #ifndef HELLO_H
3 #define HELLO_H
4 #include /**/ "ace/pre.h"
6 #include "TestS.h"
8 #if defined (_MSC_VER)
9 # pragma warning(push)
10 # pragma warning (disable:4250)
11 #endif /* _MSC_VER */
13 /// Implement the Test::Hello interface
14 class Hello
15 : public virtual POA_Test::Hello
17 public:
18 /// Constructor
19 Hello (CORBA::ORB_ptr orb);
21 // = The skeleton methods
22 virtual char * get_string ();
24 virtual void shutdown ();
26 private:
27 /// Use an ORB reference to convert strings to objects and shutdown
28 /// the application.
29 CORBA::ORB_var orb_;
32 #if defined(_MSC_VER)
33 # pragma warning(pop)
34 #endif /* _MSC_VER */
36 #include /**/ "ace/post.h"
37 #endif /* HELLO_H */