Exemplo n.º 1
0
 private void SwigDirectorConnect()
 {
     if (SwigDerivedClassHasMethod("OnElt", swigMethodTypes0))
     {
         swigDelegate0 = new SwigDelegateCommonMain_0(SwigDirectorOnElt);
     }
     if (SwigDerivedClassHasMethod("getCurrentPictureId", swigMethodTypes1))
     {
         swigDelegate1 = new SwigDelegateCommonMain_1(SwigDirectorgetCurrentPictureId);
     }
     if (SwigDerivedClassHasMethod("getCurrentSliceId", swigMethodTypes2))
     {
         swigDelegate2 = new SwigDelegateCommonMain_2(SwigDirectorgetCurrentSliceId);
     }
     if (SwigDerivedClassHasMethod("getCurrentLayerId", swigMethodTypes3))
     {
         swigDelegate3 = new SwigDelegateCommonMain_3(SwigDirectorgetCurrentLayerId);
     }
     commonWRAPPINVOKE.CommonMain_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2, swigDelegate3);
 }
Exemplo n.º 2
0
 private void SwigDirectorConnect()
 {
     if (SwigDerivedClassHasMethod("OnElt", swigMethodTypes0))
       swigDelegate0 = new SwigDelegateCommonMain_0(SwigDirectorOnElt);
     if (SwigDerivedClassHasMethod("getCurrentPictureId", swigMethodTypes1))
       swigDelegate1 = new SwigDelegateCommonMain_1(SwigDirectorgetCurrentPictureId);
     if (SwigDerivedClassHasMethod("getCurrentSliceId", swigMethodTypes2))
       swigDelegate2 = new SwigDelegateCommonMain_2(SwigDirectorgetCurrentSliceId);
     if (SwigDerivedClassHasMethod("getCurrentLayerId", swigMethodTypes3))
       swigDelegate3 = new SwigDelegateCommonMain_3(SwigDirectorgetCurrentLayerId);
     commonWRAPPINVOKE.CommonMain_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2, swigDelegate3);
 }