diff options
Diffstat (limited to 'src/modules.cpp')
-rw-r--r-- | src/modules.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/modules.cpp b/src/modules.cpp index 46582fc79..f460a6a28 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -26,11 +26,17 @@ // Version is a simple class for holding a modules version number template<> -VersionBase<API_VERSION>::VersionBase(const std::string &modv, int flags, const std::string& rev) -: description(modv), version(rev), Flags(flags) +VersionBase<API_VERSION>::VersionBase(const std::string &modv, int flags) +: description(modv), Flags(flags) { } +template<> +bool VersionBase<API_VERSION>::CanLink(const std::string& other_data) +{ + return link_data == other_data; +} + Request::Request(Module* src, Module* dst, const char* idstr) : id(idstr), source(src), dest(dst) { |