Commit 3fbe2315 authored by François Grisez's avatar François Grisez

Fix C++ wrapper generation when the VCard support of Liblinphone is disabled.

parent 40b0857d
......@@ -18,6 +18,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#include "linphone/core.h"
#include "linphone/wrapper_utils.h"
#include "vcard_private.h"
struct _LinphoneVcardContext {
......@@ -179,3 +180,11 @@ bool_t linphone_core_vcard_supported(void) {
void linphone_vcard_clean_cache(LinphoneVcard *vCard) {
}
void *linphone_vcard_get_belcard(LinphoneVcard *vCard) {
return NULL;
}
LinphoneVcard *linphone_vcard_clone(const LinphoneVcard *vCard) {
return NULL;
}
......@@ -29,13 +29,16 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
{{/includes}}
#include "object.hh"
{{#_class}}{{#isVcard}}
#include <belcard/belcard.hpp>
{{/isVcard}}{{/_class}}
{{#_class}}{{#isfactory}}
#include "config.hh"
{{/isfactory}}{{/_class}}
{{#_class}}{{#isVcard}}
namespace belcard {
class BelCard;
}
{{/isVcard}}{{/_class}}
{{#_class}}
{{#isNotListener}}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment