Revert "Use a variable on the stack to not have a temporary in the call"
[ACE_TAO.git] / TAO / tests / Smart_Proxies / Collocation / Diamond_i.cpp
blob349d03c106136b3cde6e9cd6622f23e9a7f3a5f7
1 #include "Diamond_i.h"
3 Top_i::Top_i ()
7 Top_i::~Top_i ()
11 char *
12 Top_i::shape ()
14 return CORBA::string_dup ("a point.");
17 Left_i::Left_i ()
19 // No-op.
22 Left_i::~Left_i ()
24 // No-op.
27 char *
28 Left_i::shape ()
30 return CORBA::string_dup ("the left line");
33 char *
34 Left_i::color ()
36 return CORBA::string_dup ("black");
39 Right_i::Right_i ()
43 Right_i::~Right_i ()
47 char *
48 Right_i::shape ()
50 return CORBA::string_dup ("the right line");
53 char *
54 Right_i::color ()
56 return CORBA::string_dup ("red");
60 CORBA::Long
61 Right_i::width ()
63 return 0;
66 Buttom_i::Buttom_i ()
70 Buttom_i::~Buttom_i ()
74 char *
75 Buttom_i::shape ()
77 return CORBA::string_dup ("a diamond");
80 char *
81 Buttom_i::color ()
83 return CORBA::string_dup ("translucent");
86 CORBA::Long
87 Buttom_i::width ()
89 return 100;
92 char *
93 Buttom_i::name ()
95 return CORBA::string_dup ("Jubilee");