X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/blast.git/blobdiff_plain/c85843afb9bd492b46d6fe87a8287157097483f5..e45bacc6bd342a1b19e42b62133ddabc99aa9edd:/Parameters.h

diff --git a/Parameters.h b/Parameters.h
index f03ca0a..0329130 100644
--- a/Parameters.h
+++ b/Parameters.h
@@ -24,6 +24,7 @@ class Graph;
 class GroupWidget;
 
 #include "BlockImplementation.h"
+#include "ExternalSource.h"
 
 #include "Exception.h"
 class Exception;
@@ -82,6 +83,7 @@ public :
 
   // others
   static QString normalizeName(const QString& name);
+  ExternalSource* searchSourceByName(const QString& name);
 
   /***************************************************
     attributes that are general to the application
@@ -89,8 +91,11 @@ public :
   BlockLibraryTree* categoryTree;
   QList<QString> refPathes;
   QList<QString> implPathes;
+  QList<QString> sourcePathes;
   QList<ReferenceBlock*> availableBlocks;
   QList<BlockImplementation*> availableImplementations;
+  QList<ExternalSource*> availableSources;
+
   ReferenceBlock* delayRef;
   BlockImplementation* delayImpl;  
 
@@ -157,6 +162,8 @@ public :
   void loadImplementationsFromLib() throw(Exception);
   void saveImplementationsToLib() throw(Exception);
 
+  void loadSources() throw(Exception);
+
   void addAvailableBlock(ReferenceBlock *block);  
   void parametersValidation();
   void connectionsValidation();