blob: f4f21c6fa5ea53a749b4e98af26fcd09dd4161b8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
|
#if !defined (TAO_DIAMOND_I_H)
#define TAO_DIAMOND_I_H
#include "DiamondS.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
class Top_i : public POA_Diamond::Top
{
public:
Top_i ();
~Top_i ();
// Ctor and dtor.
virtual char * shape ();
// Return the shape of this object (interface.)
};
class Left_i : public POA_Diamond::Left
{
public:
Left_i ();
~Left_i ();
// Ctor, dtor.
virtual char * shape ();
// Return the shape of this object (interface.)
virtual char * color ();
// Return the color of this object (interface.)
};
class Right_i : public POA_Diamond::Right
{
public:
Right_i ();
~Right_i ();
// Ctor, dtor.
virtual char * shape ();
// Return the shape of this object (interface.)
virtual char * color ();
// Return the color of this object (interface.)
virtual CORBA::Long width ();
// Return the width of the stuff.
};
class Buttom_i : public POA_Diamond::Buttom
{
public:
Buttom_i ();
~Buttom_i ();
// Ctor, dtor.
virtual char * shape ();
// Return the shape of this object (interface.)
virtual char * color ();
// Return the color of this object (interface.)
virtual CORBA::Long width ();
// Return the width of the stuff.
virtual char * name ();
// Return the name of the object.
};
#endif /* TAO_DIAMOND_I_H */
|