Salome HOME
NRI : Remove dependence with VISU.
[modules/kernel.git] / src / SALOMEDS / SALOMEDS_AttributeStudyProperties_i.hxx
1 // File:        SALOMEDS_AttributeStudyProperties_i.hxx
2 // Created:     Tue Oct  8 10:13:30 2002
3 // Author:      Yves FRICAUD
4
5 //  Project   : SALOME
6 //  Module    : SALOMEDS
7 //  Copyright : Open CASCADE 2002
8 //  $Header$
9
10
11 #ifndef SALOMEDS_AttributeStudyProperties_i_HeaderFile
12 #define SALOMEDS_AttributeStudyProperties_i_HeaderFile
13
14 // IDL headers
15 #include <SALOMEDS_StudyPropertiesAttribute.hxx>
16 #include <SALOMEconfig.h>
17 #include CORBA_SERVER_HEADER(SALOMEDS_Attributes)
18 #include "SALOMEDS_GenericAttribute_i.hxx"
19
20 class SALOMEDS_AttributeStudyProperties_i: public virtual POA_SALOMEDS::AttributeStudyProperties,
21                                            public virtual SALOMEDS_GenericAttribute_i {
22 public:
23   
24   SALOMEDS_AttributeStudyProperties_i(const Handle(SALOMEDS_StudyPropertiesAttribute)& theAttr, CORBA::ORB_ptr orb) 
25   {
26     _myOrb = CORBA::ORB::_duplicate(orb);
27     _myAttr = theAttr;
28   };
29   ~SALOMEDS_AttributeStudyProperties_i() {};
30
31   virtual void SetUserName(const char* theName);
32   virtual char* GetUserName() ;
33   virtual void SetCreationDate(CORBA::Long theMinute, CORBA::Long theHour, CORBA::Long theDay, CORBA::Long theMonth, CORBA::Long theYear);
34   virtual CORBA::Boolean GetCreationDate(CORBA::Long& theMinute, CORBA::Long& theHour, CORBA::Long& theDay, CORBA::Long& theMonth, CORBA::Long& theYear);
35   virtual void SetCreationMode(const char* theMode);
36   virtual char* GetCreationMode();
37   virtual void SetModified(CORBA::Long theModified);
38   virtual CORBA::Boolean IsModified();
39   virtual CORBA::Long GetModified();
40   virtual void SetLocked(CORBA::Boolean theLocked);
41   virtual CORBA::Boolean IsLocked();
42   virtual void SetModification(const char* theName,
43                                CORBA::Long theMinute,
44                                CORBA::Long theHour,
45                                CORBA::Long theDay,
46                                CORBA::Long theMonth,
47                                CORBA::Long theYear);
48   virtual void GetModificationsList(SALOMEDS::StringSeq_out theNames,
49                                     SALOMEDS::LongSeq_out theMinutes,
50                                     SALOMEDS::LongSeq_out theHours,
51                                     SALOMEDS::LongSeq_out theDays,
52                                     SALOMEDS::LongSeq_out theMonths,
53                                     SALOMEDS::LongSeq_out theYears,
54                                     CORBA::Boolean theWithCreator);
55 };
56
57
58 #endif