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);
 }
Exemple #4
0
 public void RemoveCallback(FileListProgress cb)
 {
     SLikeNetPINVOKE.FileList_RemoveCallback(swigCPtr, FileListProgress.getCPtr(cb));
 }
Exemple #5
0
 public void AddCallback(FileListProgress cb)
 {
     SLikeNetPINVOKE.FileListTransfer_AddCallback(swigCPtr, FileListProgress.getCPtr(cb));
 }
Exemple #6
0
        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);
        }