class GroupWidget;\r
\r
#include "BlockImplementation.h"\r
+#include "ExternalSource.h"\r
\r
#include "Exception.h"\r
class Exception;\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
BlockLibraryTree* categoryTree;\r
QList<QString> refPathes;\r
QList<QString> implPathes;\r
+ QList<QString> sourcePathes;\r
QList<ReferenceBlock*> availableBlocks;\r
QList<BlockImplementation*> availableImplementations;\r
+ QList<ExternalSource*> availableSources;\r
+\r
ReferenceBlock* delayRef;\r
BlockImplementation* delayImpl; \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