diff options
| author | Moritz Eberl <moritz@semiodesk.com> | 2016-04-12 09:43:56 +0000 |
|---|---|---|
| committer | Moritz Eberl <moritz@semiodesk.com> | 2016-04-12 09:43:56 +0000 |
| commit | d2a9d82cd79c61f44e2224dee38847d4113c7eda (patch) | |
| tree | cebddd9c7afb25a43f72a73ddde21f5a427e480a /src/extension/loader.h | |
| parent | Added a mechanism to load c++ extensions dynamically. (diff) | |
| download | inkscape-d2a9d82cd79c61f44e2224dee38847d4113c7eda.tar.gz inkscape-d2a9d82cd79c61f44e2224dee38847d4113c7eda.zip | |
fixed naming of methods. External extensions can now be other module types.
(bzr r14761.1.2)
Diffstat (limited to 'src/extension/loader.h')
| -rw-r--r-- | src/extension/loader.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/extension/loader.h b/src/extension/loader.h index c09260f72..5d48bf861 100644 --- a/src/extension/loader.h +++ b/src/extension/loader.h @@ -31,7 +31,7 @@ public: * * @param dir is the path where the plugin should be loaded from. */ - void setBaseDirectory(const gchar *dir) { + void set_base_directory(const gchar *dir) { _baseDirectory = dir; } @@ -40,7 +40,7 @@ public: * * @param dep */ - bool LoadDependency(Dependency *dep); + bool load_dependency(Dependency *dep); /** * Load the actual implementation of a plugin supplied by the plugin. @@ -48,7 +48,7 @@ public: * @param doc The xml representation of the INX extension configuration. * @return The implementation of the extension loaded from the plugin. */ - Implementation::Implementation *LoadImplementation(Inkscape::XML::Document *doc); + Implementation::Implementation *load_implementation(Inkscape::XML::Document *doc); private: const gchar *_baseDirectory; /**< The base directory to load a plugin from */ |
