summaryrefslogtreecommitdiff
path: root/project2/common/library.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'project2/common/library.cpp')
-rw-r--r--project2/common/library.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/project2/common/library.cpp b/project2/common/library.cpp
index 711e14f..0c4fa7b 100644
--- a/project2/common/library.cpp
+++ b/project2/common/library.cpp
@@ -2,12 +2,13 @@
#include <dlfcn.h>
#include "xmlStorage.h"
#include "exceptions.h"
+#include "scripts.h"
#include "library.h"
SimpleMessageException(LoadLibraryFailed);
SimpleMessageException(UnloadLibraryFailed);
-Library::Library(const xmlpp::Element * p) :
+Library::Library(ScriptNodePtr p) :
SourceObject(p),
handle(dlopen(Variable(p, "path")(), RTLD_NOW))
{