diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/base.cpp | 6 | ||||
-rw-r--r-- | src/messaging/serviceFactory.cpp | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/src/base.cpp b/src/base.cpp index 9c9d73de..05162e70 100644 --- a/src/base.cpp +++ b/src/base.cpp @@ -75,6 +75,12 @@ const string libname() { return (VMIME_PACKAGE); } */ const string libversion() { return (VMIME_VERSION " (" __DATE__ " " __TIME__ ")"); } +/** Return the library API version (eg. "6:1:6"). + * + * @return library API version + */ +const string libapi() { return (VMIME_API); } + // New line sequence to be used when folding header fields. const string NEW_LINE_SEQUENCE = "\r\n "; diff --git a/src/messaging/serviceFactory.cpp b/src/messaging/serviceFactory.cpp index 31f28b66..a444ac1a 100644 --- a/src/messaging/serviceFactory.cpp +++ b/src/messaging/serviceFactory.cpp @@ -23,7 +23,7 @@ #include "vmime/exception.hpp" #include "vmime/config.hpp" -#include "builtinServices.inl" +#include "src/messaging/builtinServices.inl" namespace vmime { |