Salome HOME
This commit was generated by cvs2git to track changes on a CVS vendor
[modules/kernel.git] / src / SALOMEDS / SALOMEDS_AttributePythonObject_i.hxx
1 // File:        SALOMEDS_AttributePythonObject_i.hxx
2 // Created:     Tue Oct  8 10:13:30 2002
3 // Author:      Michael Ponikarov
4 //  Project   : SALOME
5 //  Module    : SALOMEDS
6 //  Copyright : Open CASCADE
7 //  $Header$
8
9 #ifndef SALOMEDS_AttributePythonObject_i_HeaderFile
10 #define SALOMEDS_AttributePythonObject_i_HeaderFile
11
12 // IDL headers
13
14 #include <SALOMEconfig.h>
15 #include CORBA_SERVER_HEADER(SALOMEDS_Attributes)
16 #include "SALOMEDS_GenericAttribute_i.hxx"
17 #include "SALOMEDS_PythonObjectAttribute.hxx"
18
19 class SALOMEDS_AttributePythonObject_i: public virtual POA_SALOMEDS::AttributePythonObject,
20                                         public virtual SALOMEDS_GenericAttribute_i {
21 public:
22   
23   SALOMEDS_AttributePythonObject_i(const Handle(SALOMEDS_PythonObjectAttribute)& theObjectAttr, CORBA::ORB_ptr orb) 
24   {
25     _myOrb = CORBA::ORB::_duplicate(orb);
26     _myAttr = theObjectAttr;
27   };
28   ~SALOMEDS_AttributePythonObject_i() {};
29
30   virtual void SetObject(const char* theSequence, CORBA::Boolean IsScript);
31   virtual char* GetObject();
32   virtual CORBA::Boolean IsScript();
33
34 };
35
36
37
38
39 #endif