]> AND Private Git Repository - blast.git/blobdiff - FunctionalInterface.cpp
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
adding show/hide wb ifaces
[blast.git] / FunctionalInterface.cpp
index bce7ca1f3d1293d7f66f453a6d22a44cb0966458..1b8ff07961ea4b3062b730c08210979add4244a0 100644 (file)
@@ -19,8 +19,7 @@ FunctionalInterface::FunctionalInterface(AbstractBlock* _owner, ReferenceInterfa
   name = reference->getName();\r
   width = reference->getWidth();\r
   direction = reference->getDirection();\r
-  purpose = reference->getPurpose();\r
-  level = reference->getLevel(); \r
+  purpose = reference->getPurpose();  \r
   connectedFrom = NULL;\r
 }\r
 \r
@@ -79,8 +78,7 @@ AbstractInterface *FunctionalInterface::clone() {
   FunctionalInterface *inter = new FunctionalInterface(owner, reference);\r
   inter->setWidth(width);\r
   inter->setDirection(direction);\r
-  inter->setPurpose(purpose);\r
-  inter->setLevel(level);  \r
+  inter->setPurpose(purpose);  \r
   inter->connectFrom(NULL);\r
   inter->setName(reference->getName()+"_"+QString::number(id+1));\r
   return inter;\r