Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
liblinphone
Commits
88ef203b
Commit
88ef203b
authored
Oct 18, 2017
by
François Grisez
Browse files
Fix C++ wrapper generation when the VCard support of Liblinphone is disabled.
parent
f1e0a444
Changes
2
Hide whitespace changes
Inline
Side-by-side
coreapi/vcard_stubs.c
View file @
88ef203b
...
...
@@ -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
;
}
wrappers/cpp/class_header.mustache
View file @
88ef203b
...
...
@@ -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
}}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment