forked from enlightenment/efl
mono: encapsulate internal Add/RemoveNativeEventHandler
Summary: Depends on D10337 Test Plan: meson setup -Dbindings=mono,cxx -Dmono-beta=true Reviewers: lauromoura, segfaultxavi, Jaehyun_Cho Reviewed By: lauromoura Subscribers: cedric, #reviewers, woohyun, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10341
This commit is contained in:
parent
90280ffed6
commit
7f2458b20d
|
@ -256,7 +256,7 @@ public abstract class EoWrapper : IWrapper, IDisposable
|
||||||
/// <param name="key">The name of the native event.</param>
|
/// <param name="key">The name of the native event.</param>
|
||||||
/// <param name="evtCaller">Delegate to be called by native code on event raising.</param>
|
/// <param name="evtCaller">Delegate to be called by native code on event raising.</param>
|
||||||
/// <param name="evtDelegate">Managed delegate that will be called by evtCaller on event raising.</param>
|
/// <param name="evtDelegate">Managed delegate that will be called by evtCaller on event raising.</param>
|
||||||
protected void AddNativeEventHandler(string lib, string key, Efl.EventCb evtCaller, object evtDelegate)
|
internal void AddNativeEventHandler(string lib, string key, Efl.EventCb evtCaller, object evtDelegate)
|
||||||
{
|
{
|
||||||
lock (eflBindingEventLock)
|
lock (eflBindingEventLock)
|
||||||
{
|
{
|
||||||
|
@ -294,7 +294,7 @@ public abstract class EoWrapper : IWrapper, IDisposable
|
||||||
/// <param name="lib">The name of the native library definining the event.</param>
|
/// <param name="lib">The name of the native library definining the event.</param>
|
||||||
/// <param name="key">The name of the native event.</param>
|
/// <param name="key">The name of the native event.</param>
|
||||||
/// <param name="evtDelegate">The delegate to be removed.</param>
|
/// <param name="evtDelegate">The delegate to be removed.</param>
|
||||||
protected void RemoveNativeEventHandler(string lib, string key, object evtDelegate)
|
internal void RemoveNativeEventHandler(string lib, string key, object evtDelegate)
|
||||||
{
|
{
|
||||||
lock (eflBindingEventLock)
|
lock (eflBindingEventLock)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue