X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/blast.git/blobdiff_plain/e45bacc6bd342a1b19e42b62133ddabc99aa9edd..8fb3c55ee009a11db5e1c08a4cfb286979412745:/Parameters.h?ds=inline diff --git a/Parameters.h b/Parameters.h index 0329130..a541ee6 100644 --- a/Parameters.h +++ b/Parameters.h @@ -24,7 +24,7 @@ class Graph; class GroupWidget; #include "BlockImplementation.h" -#include "ExternalSource.h" +#include "ExternalResource.h" #include "Exception.h" class Exception; @@ -83,7 +83,7 @@ public : // others static QString normalizeName(const QString& name); - ExternalSource* searchSourceByName(const QString& name); + QList searchResourceByName(const QString& name); /*************************************************** attributes that are general to the application @@ -94,7 +94,7 @@ public : QList sourcePathes; QList availableBlocks; QList availableImplementations; - QList availableSources; + QList availableResources; ReferenceBlock* delayRef; BlockImplementation* delayImpl; @@ -138,8 +138,10 @@ public : QString projectPath; QString projectName; QString projectFile; // equals to projectPath/projectName.xml + bool autoConnMainClk; // true if auto-connection to main clock (i.e. ext_clk) + QList clocks; // clocks[0] is the main clock. - Graph* createGraph(); + Graph* createGraph(bool createTopGroupIfaces = true); void destroyGraph(); inline Graph* getGraph() { return graph; } ReferenceBlock* getReferenceBlock(int idCategory, int idBlock); // get the reference block from its category and index