X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/blast.git/blobdiff_plain/abbc64cf04a35ab3549d5c516f44c7c5921baa63..2019e5afdaf7fd0ad21607848710348bbc3be256:/ReferenceInterface.h diff --git a/ReferenceInterface.h b/ReferenceInterface.h index cd5bd0f..d5219b6 100644 --- a/ReferenceInterface.h +++ b/ReferenceInterface.h @@ -19,11 +19,10 @@ class ReferenceInterface : public AbstractInterface { public : ReferenceInterface(AbstractBlock *_owner) throw(Exception); - ReferenceInterface(AbstractBlock* _owner, const QString& _name, const QString& _type, const QString& _width, int _direction, int _purpose, int _level, int _multiplicity=1) throw (Exception); + ReferenceInterface(AbstractBlock* _owner, const QString& _name, const QString& _type, const QString& _width, int _direction, int _purpose, int _multiplicity=1) throw (Exception); // getters - inline int getMultiplicity() { return multiplicity; } - inline AbstractInterface* getConnectedFrom() { return NULL; } + inline int getMultiplicity() { return multiplicity; } // setters void setMultiplicity(int _multiplicity); @@ -32,8 +31,7 @@ public : // others - static int translatePurpose(const QString& txt); - static int translateLevel(const QString& txt); + static int translatePurpose(const QString& txt); static int translateMultiplicity(const QString& txt); inline AbstractInterface *clone(){ return NULL; }