/[RomCheater]/trunk/Win32/Sojaner.MemoryScanner/Events.cs
ViewVC logotype

Diff of /trunk/Win32/Sojaner.MemoryScanner/Events.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- trunk/Win32/Sojaner.MemoryScanner/Events.cs	2013/06/03 07:39:39	472
+++ trunk/Win32/Sojaner.MemoryScanner/Events.cs	2013/06/03 09:21:03	473
@@ -43,18 +43,22 @@
         uint CurrentIndex { get; }
         uint TotalCount { get; }
         bool Canceled { get; set; }
+        bool ReportProgress { get; }
     };
     public class OnBytesReadEventArgs : BaseEventArgs, IOnBytesReadEventArgs
     {
         public OnBytesReadEventArgs() : this(null) { }
         public OnBytesReadEventArgs(object sender) : this(sender, null, new byte[] { }, 0, 1) { }
         public OnBytesReadEventArgs(object sender, object userState, byte[] data, uint currentIndex, uint totalCount)
+            : this(sender, userState, data, currentIndex, totalCount, true) { }
+        public OnBytesReadEventArgs(object sender, object userState, byte[] data, uint currentIndex, uint totalCount, bool reportprogess)
             : base(sender)
         {
             this.UserState = userState;
             Data = data;
             this.CurrentIndex = currentIndex;
             this.TotalCount = totalCount;
+            this.ReportProgress = reportprogess;
         }
         #region OnBytesReadEventArgs members
         public object UserState { get; private set; }
@@ -62,6 +66,7 @@
         public uint CurrentIndex { get; private set; }
         public uint TotalCount { get; private set; }
         public bool Canceled { get; set; }
+        public bool ReportProgress { get; private set; }
         #endregion
     }
 #endregion

 

  ViewVC Help
Powered by ViewVC 1.1.22