summaryrefslogtreecommitdiffstats
path: root/src/extension/loader.h
diff options
context:
space:
mode:
authorPatrick Storz <eduard.braun2@gmx.de>2019-08-04 23:13:40 +0000
committerPatrick Storz <eduard.braun2@gmx.de>2019-08-31 14:50:39 +0000
commit2e2f1abfd59888af7749429e9016cd1768b9a0a6 (patch)
treed10e71c10ef2a8c40da5088ca25e1818e1e39706 /src/extension/loader.h
parentSwitch Inkscape::Extension to use InxWidgets instead of InxParameters (diff)
downloadinkscape-2e2f1abfd59888af7749429e9016cd1768b9a0a6.tar.gz
inkscape-2e2f1abfd59888af7749429e9016cd1768b9a0a6.zip
cleanup includes a bit
Diffstat (limited to 'src/extension/loader.h')
-rw-r--r--src/extension/loader.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/extension/loader.h b/src/extension/loader.h
index 65e5885f6..c6adbe2ec 100644
--- a/src/extension/loader.h
+++ b/src/extension/loader.h
@@ -18,6 +18,11 @@
namespace Inkscape {
+
+namespace XML {
+class Document;
+}
+
namespace Extension {
/** This class contains the mechanism to load c++ plugins dynamically.
@@ -27,7 +32,7 @@ class Loader {
public:
/**
* Sets a base directory where to look for the actual plugin to load.
- *
+ *
* @param dir is the path where the plugin should be loaded from.
*/
void set_base_directory(std::string dir) {
@@ -36,14 +41,14 @@ public:
/**
* Loads plugin dependencies which are needed for the plugin to load.
- *
+ *
* @param dep
*/
bool load_dependency(Dependency *dep);
/**
* Load the actual implementation of a plugin supplied by the plugin.
- *
+ *
* @param doc The xml representation of the INX extension configuration.
* @return The implementation of the extension loaded from the plugin.
*/