Salome HOME
536058e45bbe6909ba5ce9fd232bd6b979623a2e
[modules/kernel.git] / src / SALOMEDS / SALOMEDS_AttributeTextColor_i.hxx
1 // File:        SALOMEDS_AttributeTextColor_i.hxx
2 // Created:     Fri Jul  5 10:21:15 2002
3 // Author:      Yves FRICAUD
4
5 //  Project   : SALOME
6 //  Module    : SALOMEDS
7 //  Copyright : Open CASCADE 2002
8 //  $Header: 
9
10
11 #ifndef SALOMEDS_AttributeTextColor_i_HeaderFile
12 #define SALOMEDS_AttributeTextColor_i_HeaderFile
13
14 // IDL headers
15 #include "SALOMEDS_TextColorAttribute.hxx"
16 #include <SALOMEconfig.h>
17 #include CORBA_SERVER_HEADER(SALOMEDS_Attributes)
18 #include "SALOMEDS_GenericAttribute_i.hxx"
19
20 class SALOMEDS_AttributeTextColor_i: public virtual POA_SALOMEDS::AttributeTextColor,
21                                 public virtual SALOMEDS_GenericAttribute_i {
22 public:
23   
24   SALOMEDS_AttributeTextColor_i(const Handle(SALOMEDS_TextColorAttribute)& theTextColorAttr, CORBA::ORB_ptr orb) 
25   {
26     _myOrb = CORBA::ORB::_duplicate(orb);
27     _myAttr = theTextColorAttr;
28   };
29   ~SALOMEDS_AttributeTextColor_i() {};
30
31   SALOMEDS::Color TextColor();
32   void SetTextColor(const SALOMEDS::Color& value);
33 };
34
35
36 #endif