Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of newgeom:newgeom.git
[modules/shaper.git]
/
src
/
Config
/
Config_ModuleReader.h
diff --git
a/src/Config/Config_ModuleReader.h
b/src/Config/Config_ModuleReader.h
index 33567bdd27aa495af8caad59436d0c9ba8a0fbed..a4afba3c242dd20be7eeb39a99f3b7325253f79f 100644
(file)
--- a/
src/Config/Config_ModuleReader.h
+++ b/
src/Config/Config_ModuleReader.h
@@
-12,6
+12,7
@@
#include <Config_XMLReader.h>
#include <map>
#include <Config_XMLReader.h>
#include <map>
+#include <list>
#include <string>
#include <string>
@@
-19,25
+20,27
@@
class Config_ModuleReader: public Config_XMLReader
{
public:
{
public:
- CONFIG_EXPORT Config_ModuleReader();
+ CONFIG_EXPORT Config_ModuleReader(
const char* theEventGenerated = 0
);
CONFIG_EXPORT virtual ~Config_ModuleReader();
CONFIG_EXPORT virtual ~Config_ModuleReader();
- CONFIG_EXPORT void setAutoImport(bool enabled);
- CONFIG_EXPORT const std::map<std::string, std::string>& plugins() const;
+ CONFIG_EXPORT const std::map<std::string, std::string>& featuresInFiles() const;
CONFIG_EXPORT std::string getModuleName();
CONFIG_EXPORT std::string getModuleName();
+ /// loads the library with specific name, appends "lib*.dll" or "*.so" depending on the platform
+ CONFIG_EXPORT static void loadLibrary(const std::string theLibName);
+
protected:
void processNode(xmlNodePtr aNode);
bool processChildren(xmlNodePtr aNode);
protected:
void processNode(xmlNodePtr aNode);
bool processChildren(xmlNodePtr aNode);
-
void importPlugin(const std::string& thePluginName
,
-
const std::string& thePluginLibrary = ""
);
+
std::list<std::string> importPlugin(const std::string& thePluginLibrary
,
+
const std::string& thePluginFile
);
-private:
- bool myIsAutoImport;
- std::map<std::string, std::string> myPluginsMap;
+private:
+ std::map<std::string, std::string> myFeaturesInFiles;
+ const char* myEventGenerated;
};
};