Merge pull request #2222 from jwillemsen/jwi-dllexportwarning
[ACE_TAO.git] / TAO / tests / Collocation_Oneway_Tests / Hello.h
blobbc9e3a23043bb0ba7ae251a9eda19fc57cdd6bdf
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,
20 ACE_thread_t thr_id);
22 // = The skeleton methods
23 virtual char * get_string ();
25 virtual void onewayTest ();
27 virtual void shutdown ();
29 private:
30 /// Use an ORB reference to convert strings to objects and shutdown
31 /// the application.
32 CORBA::ORB_var orb_;
34 ACE_thread_t thr_id_;
37 #if defined(_MSC_VER)
38 # pragma warning(pop)
39 #endif /* _MSC_VER */
41 #include /**/ "ace/post.h"
42 #endif /* HELLO_H */