X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/blast.git/blobdiff_plain/abbc64cf04a35ab3549d5c516f44c7c5921baa63..5ce5a13d19945d096272447daa2e242c0a01b9f0:/ReferenceInterface.cpp?ds=inline diff --git a/ReferenceInterface.cpp b/ReferenceInterface.cpp index 8aca132..faa51e8 100644 --- a/ReferenceInterface.cpp +++ b/ReferenceInterface.cpp @@ -11,9 +11,8 @@ ReferenceInterface::ReferenceInterface(AbstractBlock* _owner, const QString& _width, int _direction, int _purpose, - int _level, int _multiplicity) -throw (Exception) : AbstractInterface(_owner, _name, _type, _width, _direction, _purpose, _level) { +throw (Exception) : AbstractInterface(_owner, _name, _type, _width, _direction, _purpose) { if (_owner->isReferenceBlock()) throw(Exception(BLOCK_INVALID_TYPE)); @@ -49,14 +48,6 @@ int ReferenceInterface::translatePurpose(const QString& txt) { return Data; } -int ReferenceInterface::translateLevel(const QString& txt) { - - if (txt == "top") { - return Top; - } - return Basic; -} - int ReferenceInterface::translateMultiplicity(const QString& txt) { bool ok; int mult;