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); }