Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / TAO / tests / Skeleton_Inheritance / interface_3_i.cpp
blobfbde599f4442407f4de453eb2dd33b3f97d4ead6
1 #include "interface_3_i.h"
3 interface_3_i::interface_3_i (CORBA::ORB_ptr orb)
4 : orb_ (CORBA::ORB::_duplicate (orb))
8 // INTERFACE 1
9 char *
10 interface_3_i::operation_1 ()
12 return CORBA::string_dup ("Invoked operation one");
15 ::CORBA::Long
16 interface_3_i::attribute_1 ()
18 return 10;
21 void
22 interface_3_i::attribute_1 (::CORBA::Long attribute_1)
24 ACE_UNUSED_ARG (attribute_1);
27 // INTERFACE 2
29 char *
30 interface_3_i::operation_2 ()
32 return CORBA::string_dup ("Invoked operation two");
35 char *
36 interface_3_i::attribute_2 ()
38 return CORBA::string_dup ("Returning attribute_2");
41 //INTERFACE 3
43 char *
44 interface_3_i::operation_3 ()
46 return CORBA::string_dup ("Invoked operation three");
49 void
50 interface_3_i::shutdown ()
52 this->orb_->shutdown ();
55 ::CORBA::Short
56 interface_3_i::attribute_3 ()
58 return 10;
61 void
62 interface_3_i::attribute_3 (::CORBA::Short attribute_3)
64 ACE_UNUSED_ARG (attribute_3);