Salome HOME
PAL13183: correct environment variables in custom SALOME launching script (runAppli)
[tools/install.git] / src / SALOME_ProductsView.hxx
index 88fbe8acd684fac8a305dfc9447e6913216c6692..38b02dba8e60a214f3cc92a343939a89d11a2855 100644 (file)
@@ -52,13 +52,13 @@ public:
   void itemActivated( QCheckListItem* item );
 
   // returns true if "install binaries" is on for the item
-  bool isBinaries( QCheckListItem* item );
+  bool isBinaries( QCheckListItem* item ) const;
   // returns true if "install sources" is on for the item
-  bool isSources( QCheckListItem* item );
+  bool isSources( QCheckListItem* item ) const;
   // returns true if "use native" is on for the item
-  bool isNative( QCheckListItem* item );
+  bool isNative( QCheckListItem* item ) const;
   // returns true if "not install" is on for the item
-  bool isNone(  QCheckListItem* item );
+  bool isNone(  QCheckListItem* item ) const;
 
   // sets "install binaries" on for the item; if "binaries" item is absent, set "install sources" on if it is present 
   void setBinaries( QCheckListItem* item );
@@ -69,6 +69,13 @@ public:
   // sets "not install" on for the item
   void setNone( QCheckListItem* item );
 
+  // returns true if product supports "binaries" installation mode
+  bool hasBinaries( QCheckListItem* item ) const;
+  // returns true if product supports "sources" installation mode
+  bool hasSources( QCheckListItem* item ) const;
+  // returns true if product supports "native" installation mode
+  bool hasNative( QCheckListItem* item ) const;
+
 signals:
   // emitted when checkbox or radiobutton is switched
   void itemToggled( QCheckListItem* item );