Salome HOME
0021177: EDF 1563 SMESH: Preview of mesh during a modification
[modules/smesh.git] / src / SMESHGUI / SMESHGUI_Hypotheses.h
index 0891def1bc6a8f898d6b891f5970da7edf01419e..a6f0a70a8f220792cc2f7d0ef0a292d9284d0b6a 100644 (file)
@@ -1,4 +1,4 @@
-//  Copyright (C) 2007-2008  CEA/DEN, EDF R&D, OPEN CASCADE
+//  Copyright (C) 2007-2010  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 //  Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 //  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@ -19,6 +19,7 @@
 //
 //  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
+
 // SMESH SMESHGUI : GUI for SMESH component
 // File   : SMESHGUI_Hypotheses.h
 // Author : Julia DOROVSKIKH, Open CASCADE S.A.S.
@@ -201,6 +202,10 @@ public:
   void set( bool, const QStringList& );
   int count( bool ) const;
 
+  void setIsCustom( bool );
+  bool getIsCustom() const;
+  int maxDim() const;
+
   bool isAlgo() const;
 
   //this method sets internal index to -1, thus before any data access it is necessary to call next()
@@ -215,9 +220,9 @@ private:
   QStringList* list() const;
 
 private:
-  bool myIsAlgo;
   QString     myHypoSetName;
   QStringList myHypoList, myAlgoList;
+  bool myIsAlgo, myIsCustom;
   int myIndex;
 };