mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-02-07 14:18:25 +00:00
C++ wrapper: systematically include object.hh in each generated header file
This commit is contained in:
parent
e8b4dd21ee
commit
13b127caa2
2 changed files with 1 additions and 2 deletions
|
|
@ -27,6 +27,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|||
#include "{{name}}.hh"
|
||||
{{/internal}}
|
||||
{{/includes}}
|
||||
#include "object.hh"
|
||||
|
||||
{{#_class}}{{#isVcard}}
|
||||
#include <belcard/belcard.hpp>
|
||||
|
|
|
|||
|
|
@ -593,8 +593,6 @@ class ClassHeader(object):
|
|||
includes = {'internal': [], 'external': []}
|
||||
|
||||
if type(_class) is AbsApi.Class:
|
||||
self._add_include(includes, 'internal', 'object')
|
||||
|
||||
for _property in _class.properties:
|
||||
if _property.setter is not None:
|
||||
self._needed_includes_from_method(_property.setter, includes)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue