public static FileListProgress GetInstance() { IntPtr cPtr = SLikeNetPINVOKE.FileListProgress_GetInstance(); FileListProgress ret = (cPtr == IntPtr.Zero) ? null : new FileListProgress(cPtr, false); return(ret); }
public static void DestroyInstance(FileListProgress i) { SLikeNetPINVOKE.FileListProgress_DestroyInstance(FileListProgress.getCPtr(i)); }
internal static HandleRef getCPtr(FileListProgress obj) { return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr); }
public void RemoveCallback(FileListProgress cb) { SLikeNetPINVOKE.FileList_RemoveCallback(swigCPtr, FileListProgress.getCPtr(cb)); }
public void AddCallback(FileListProgress cb) { SLikeNetPINVOKE.FileListTransfer_AddCallback(swigCPtr, FileListProgress.getCPtr(cb)); }
public ushort DownloadFromSubdirectory(FileList localFiles, string subdir, string outputSubdir, bool prependAppDirToOutputSubdir, SystemAddress host, FileListTransferCBInterface onFileCallback, PacketPriority _priority, char _orderingChannel, FileListProgress cb) { ushort ret = SLikeNetPINVOKE.DirectoryDeltaTransfer_DownloadFromSubdirectory__SWIG_1(swigCPtr, FileList.getCPtr(localFiles), subdir, outputSubdir, prependAppDirToOutputSubdir, SystemAddress.getCPtr(host), FileListTransferCBInterface.getCPtr(onFileCallback), (int)_priority, _orderingChannel, FileListProgress.getCPtr(cb)); if (SLikeNetPINVOKE.SWIGPendingException.Pending) { throw SLikeNetPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }