コード例 #1
0
ファイル: PStore.cs プロジェクト: videoai/papillon-swig
 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();
     }
 }
コード例 #2
0
ファイル: PStore.cs プロジェクト: videoai/papillon-swig
    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);
    }