]> AND Private Git Repository - blast.git/blobdiff - Parameters.h
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
nearly finished GroupBlock VHDL gen
[blast.git] / Parameters.h
index f03ca0a1f9363d4b821b4df3c9fbf4fe1cb4fab0..03291305b1030b2cb331b17469f97865ba4c8d27 100644 (file)
@@ -24,6 +24,7 @@ class Graph;
 class GroupWidget;\r
 \r
 #include "BlockImplementation.h"\r
 class GroupWidget;\r
 \r
 #include "BlockImplementation.h"\r
+#include "ExternalSource.h"\r
 \r
 #include "Exception.h"\r
 class Exception;\r
 \r
 #include "Exception.h"\r
 class Exception;\r
@@ -82,6 +83,7 @@ public :
 \r
   // others\r
   static QString normalizeName(const QString& name);\r
 \r
   // others\r
   static QString normalizeName(const QString& name);\r
+  ExternalSource* searchSourceByName(const QString& name);\r
 \r
   /***************************************************\r
     attributes that are general to the application\r
 \r
   /***************************************************\r
     attributes that are general to the application\r
@@ -89,8 +91,11 @@ public :
   BlockLibraryTree* categoryTree;\r
   QList<QString> refPathes;\r
   QList<QString> implPathes;\r
   BlockLibraryTree* categoryTree;\r
   QList<QString> refPathes;\r
   QList<QString> implPathes;\r
+  QList<QString> sourcePathes;\r
   QList<ReferenceBlock*> availableBlocks;\r
   QList<BlockImplementation*> availableImplementations;\r
   QList<ReferenceBlock*> availableBlocks;\r
   QList<BlockImplementation*> availableImplementations;\r
+  QList<ExternalSource*> availableSources;\r
+\r
   ReferenceBlock* delayRef;\r
   BlockImplementation* delayImpl;  \r
 \r
   ReferenceBlock* delayRef;\r
   BlockImplementation* delayImpl;  \r
 \r
@@ -157,6 +162,8 @@ public :
   void loadImplementationsFromLib() throw(Exception);\r
   void saveImplementationsToLib() throw(Exception);\r
 \r
   void loadImplementationsFromLib() throw(Exception);\r
   void saveImplementationsToLib() throw(Exception);\r
 \r
+  void loadSources() throw(Exception);\r
+\r
   void addAvailableBlock(ReferenceBlock *block);  \r
   void parametersValidation();\r
   void connectionsValidation();\r
   void addAvailableBlock(ReferenceBlock *block);  \r
   void parametersValidation();\r
   void connectionsValidation();\r