summaryrefslogtreecommitdiffstats
path: root/src/extension/dependency.cpp
diff options
context:
space:
mode:
authorMoritz Eberl <moritz@semiodesk.com>2016-04-11 14:53:05 +0000
committerMoritz Eberl <moritz@semiodesk.com>2016-04-11 14:53:05 +0000
commit58a5565b6d840af2e6a0e74c1554018f75d689b0 (patch)
treebe65d1a9c02dc80d6508ed315950eac33232a34d /src/extension/dependency.cpp
parentFix node size regression and add ctrlResize property for multiple use. (diff)
downloadinkscape-58a5565b6d840af2e6a0e74c1554018f75d689b0.tar.gz
inkscape-58a5565b6d840af2e6a0e74c1554018f75d689b0.zip
Added a mechanism to load c++ extensions dynamically.
(bzr r14761.1.1)
Diffstat (limited to 'src/extension/dependency.cpp')
-rw-r--r--src/extension/dependency.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/extension/dependency.cpp b/src/extension/dependency.cpp
index e46b6fbd2..712a9068d 100644
--- a/src/extension/dependency.cpp
+++ b/src/extension/dependency.cpp
@@ -235,6 +235,18 @@ bool Dependency::check (void) const
}
/**
+ \brief Accessor to the name attribute.
+ \return A string containing the name of the dependency.
+
+ Returns the name of the dependency as found in the configuration file.
+
+*/
+const gchar* Dependency::getName()
+{
+ return _string;
+}
+
+/**
\brief Print out a dependency to a string.
*/
std::ostream &