mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-24 14:48:07 +00:00
Fix C++ wrapper generation when the VCard support of Liblinphone is disabled.
This commit is contained in:
parent
40b0857de0
commit
3fbe231594
2 changed files with 15 additions and 3 deletions
|
|
@ -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}}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue