Merge remote-tracking branch 'upstream/master'
[ACE_TAO.git] / TAO / tests / Collocation / Diamond_i.cpp
blobb28e1d0fe9c6690943a3f4a24e1297dca6a087b8
1 #include "Diamond_i.h"
3 Top_i::Top_i ()
7 Top_i::~Top_i ()
11 char *
12 Top_i::shape (void)
14 return CORBA::string_dup ("a point.");
17 Left_i::Left_i ()
21 Left_i::~Left_i ()
25 char *
26 Left_i::shape (void)
28 return CORBA::string_dup ("the left line");
31 char *
32 Left_i::color (void)
34 return CORBA::string_dup ("black");
37 Right_i::Right_i ()
41 Right_i::~Right_i ()
45 char *
46 Right_i::shape (void)
48 return CORBA::string_dup ("the right line");
51 char *
52 Right_i::color (void)
54 return CORBA::string_dup ("red");
58 CORBA::Long
59 Right_i::width (void)
61 return 0;
64 Buttom_i::Buttom_i ()
68 Buttom_i::~Buttom_i ()
72 char *
73 Buttom_i::shape (void)
75 return CORBA::string_dup ("a diamond");
78 char *
79 Buttom_i::color (void)
81 return CORBA::string_dup ("translucent");
84 CORBA::Long
85 Buttom_i::width (void)
87 return 100;
90 char *
91 Buttom_i::name (void)
93 return CORBA::string_dup ("Jubilee");