Revert "Minor modernization of DynamicAny code"
[ACE_TAO.git] / TAO / tests / Collocation / Diamond_i.h
blob904d2607d22f5bbac11a09a2d75947ce3c0163ca
1 #if !defined (TAO_DIAMOND_I_H)
2 #define TAO_DIAMOND_I_H
4 #include "DiamondS.h"
6 #if !defined (ACE_LACKS_PRAGMA_ONCE)
7 # pragma once
8 #endif /* ACE_LACKS_PRAGMA_ONCE */
11 class Diamond_Export Top_i : public POA_Diamond::Top
13 public:
14 Top_i ();
15 ~Top_i ();
16 // Ctor and dtor.
18 virtual char * shape ();
19 // Return the shape of this object (interface.)
22 class Diamond_Export Left_i : public POA_Diamond::Left
24 public:
25 Left_i ();
26 ~Left_i ();
27 // Ctor, dtor.
29 virtual char * shape ();
30 // Return the shape of this object (interface.)
32 virtual char * color ();
33 // Return the color of this object (interface.)
36 class Diamond_Export Right_i : public POA_Diamond::Right
38 public:
39 Right_i ();
40 ~Right_i ();
41 // Ctor, dtor.
43 virtual char * shape ();
44 // Return the shape of this object (interface.)
46 virtual char * color ();
47 // Return the color of this object (interface.)
49 virtual CORBA::Long width ();
50 // Return the width of the stuff.
53 class Diamond_Export Buttom_i : public POA_Diamond::Buttom
55 public:
56 Buttom_i ();
57 ~Buttom_i ();
58 // Ctor, dtor.
60 virtual char * shape ();
61 // Return the shape of this object (interface.)
63 virtual char * color ();
64 // Return the color of this object (interface.)
66 virtual CORBA::Long width ();
67 // Return the width of the stuff.
69 virtual char * name ();
70 // Return the name of the object.
73 #endif /* TAO_DIAMOND_I_H */