From da55bd2c267934d0d8f44d9d061a3db9b1ea203f Mon Sep 17 00:00:00 2001 From: Vincent Richard Date: Thu, 30 Dec 2004 09:32:32 +0000 Subject: Autotools and libtool support. --- src/base.cpp | 6 ++++++ src/messaging/serviceFactory.cpp | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'src') 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 { -- cgit