-ConnectedInterface::ConnectedInterface(AbstractBlock* _owner, const QString& _name, const QString& _type, const QString& _width, int _direction, int _purpose) : AbstractInterface(_owner, _name, _type, _width, _direction, _purpose) {\r
- connectedFrom = NULL;\r
+ConnectedInterface::ConnectedInterface(AbstractBlock* _owner, const QString& _name, int _direction, int _purpose, const QString& _type, const QString& _width) : AbstractInterface(_owner, _name, _direction, _purpose, _type, _width) {\r
+ connectedFrom = NULL; \r
+ outputPattern = NULL;\r
+ inputModifier = NULL;\r
+}\r
+\r
+ConnectedInterface::~ConnectedInterface() { \r
+ if (outputPattern != NULL) delete outputPattern;\r