From 58a5565b6d840af2e6a0e74c1554018f75d689b0 Mon Sep 17 00:00:00 2001 From: Moritz Eberl Date: Mon, 11 Apr 2016 16:53:05 +0200 Subject: Added a mechanism to load c++ extensions dynamically. (bzr r14761.1.1) --- src/extension/dependency.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/extension/dependency.cpp') 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 @@ -234,6 +234,18 @@ bool Dependency::check (void) const return TRUE; } +/** + \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. */ -- cgit v1.2.3 From d2a9d82cd79c61f44e2224dee38847d4113c7eda Mon Sep 17 00:00:00 2001 From: Moritz Eberl Date: Tue, 12 Apr 2016 11:43:56 +0200 Subject: fixed naming of methods. External extensions can now be other module types. (bzr r14761.1.2) --- src/extension/dependency.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/extension/dependency.cpp') diff --git a/src/extension/dependency.cpp b/src/extension/dependency.cpp index 712a9068d..624be12f9 100644 --- a/src/extension/dependency.cpp +++ b/src/extension/dependency.cpp @@ -241,7 +241,7 @@ bool Dependency::check (void) const Returns the name of the dependency as found in the configuration file. */ -const gchar* Dependency::getName() +const gchar* Dependency::get_name() { return _string; } -- cgit v1.2.3