Salome HOME
merge from branch DEV tag mergeto_trunk_04apr08
[modules/yacs.git] / src / prs / YACSPrs_SwitchNode.h
index 654842b0ad48672e50d16a08a2aea1a6a1d8a34a..f0060a2b0ba24730248f6993d8917266ebdf7bb4 100644 (file)
@@ -23,7 +23,7 @@
 
 class YACSPrs_SwitchNode : public YACSPrs_InlineNode {
  public:
-  YACSPrs_SwitchNode( SUIT_ResourceMgr*, QCanvas*, YACS::ENGINE::Node*);
+  YACSPrs_SwitchNode( SUIT_ResourceMgr*, QCanvas*, YACS::HMI::SubjectNode*);
   virtual ~YACSPrs_SwitchNode();
 
   /* reimplement functions from QxGraph_ActiveItem */
@@ -33,7 +33,8 @@ class YACSPrs_SwitchNode : public YACSPrs_InlineNode {
 
   virtual QPointArray constructAreaPoints(int theW, int theH) const;
 
-  virtual void updatePorts();
+  virtual void updatePorts(bool theForce=false);
+
   virtual int getCorner() const { return 0; }
 
  protected: