mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-30 01:39:20 +00:00
Fixing wrapper xamarin
This commit is contained in:
parent
9e2ef62411
commit
d555bf4695
2 changed files with 4 additions and 23 deletions
|
|
@ -485,13 +485,7 @@ def main():
|
|||
parser = AbsApi.CParser(project)
|
||||
parser.functionBl = \
|
||||
['linphone_vcard_get_belcard',\
|
||||
'linphone_core_get_current_vtable',\
|
||||
'linphone_call_set_native_video_window_id',\
|
||||
'linphone_call_get_native_video_window_id',\
|
||||
'linphone_core_get_native_preview_window_id',\
|
||||
'linphone_core_set_native_preview_window_id',\
|
||||
'linphone_core_set_native_video_window_id',\
|
||||
'linphone_core_get_native_video_window_id']
|
||||
'linphone_core_get_current_vtable']
|
||||
parser.classBl += 'LinphoneCoreVTable'
|
||||
parser.methodBl.remove('getCurrentCallbacks')
|
||||
parser.parse_all()
|
||||
|
|
|
|||
|
|
@ -377,13 +377,9 @@ namespace Linphone
|
|||
}
|
||||
{{/isLinphoneFactory}}
|
||||
{{#isLinphoneCall}}
|
||||
[DllImport(LinphoneWrapper.LIB_NAME)]
|
||||
static extern IntPtr linphone_call_get_native_video_window_id(IntPtr thiz);
|
||||
[DllImport(LinphoneWrapper.LIB_NAME)]
|
||||
static extern void linphone_call_set_native_video_window_id(IntPtr thiz, IntPtr id);
|
||||
|
||||
/// Get the native window handle of the video window, casted as an unsigned long.
|
||||
public string NativeVideoWindowId
|
||||
public string NativeVideoWindowIdString
|
||||
{
|
||||
get
|
||||
{
|
||||
|
|
@ -396,13 +392,9 @@ namespace Linphone
|
|||
}
|
||||
{{/isLinphoneCall}}
|
||||
{{#isLinphoneCore}}
|
||||
[DllImport(LinphoneWrapper.LIB_NAME)]
|
||||
static extern IntPtr linphone_core_get_native_video_window_id(IntPtr thiz);
|
||||
[DllImport(LinphoneWrapper.LIB_NAME)]
|
||||
static extern void linphone_core_set_native_video_window_id(IntPtr thiz, IntPtr id);
|
||||
|
||||
/// Get the native window handle of the video window.
|
||||
public string NativeVideoWindowId
|
||||
public string NativeVideoWindowIdString
|
||||
{
|
||||
get
|
||||
{
|
||||
|
|
@ -414,13 +406,8 @@ namespace Linphone
|
|||
}
|
||||
}
|
||||
|
||||
[DllImport(LinphoneWrapper.LIB_NAME)]
|
||||
static extern IntPtr linphone_core_get_native_preview_window_id(IntPtr thiz);
|
||||
[DllImport(LinphoneWrapper.LIB_NAME)]
|
||||
static extern void linphone_core_set_native_preview_window_id(IntPtr thiz, IntPtr id);
|
||||
|
||||
/// Get the native window handle of the video preview window.
|
||||
public string NativePreviewWindowId
|
||||
public string NativePreviewWindowIdString
|
||||
{
|
||||
get
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue