public void AddListener(SWIGTYPE_p_papillon__PStoreEventListener eventListener) { PapillonPINVOKE.PStore_AddListener(swigCPtr, SWIGTYPE_p_papillon__PStoreEventListener.getCPtr(eventListener)); if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } }
public PResult RemoveListener(SWIGTYPE_p_papillon__PStoreEventListener eventListener) { PResult ret = new PResult(PapillonPINVOKE.PStore_RemoveListener(swigCPtr, SWIGTYPE_p_papillon__PStoreEventListener.getCPtr(eventListener)), true); if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_papillon__PStoreEventListener obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }