X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/blast.git/blobdiff_plain/abbc64cf04a35ab3549d5c516f44c7c5921baa63..43fd94117de66d533ef9e58b2de85daa244da309:/ReferenceInterface.cpp?ds=sidebyside 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;