/[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/02 19:52:03	446
+++ trunk/Win32/Sojaner.MemoryScanner/Events.cs	2013/06/06 07:46:38	575
@@ -40,28 +40,33 @@
     {
         object UserState { get; }
         byte[] Data { get; }
-        uint CurrentIndex { get; }
-        uint TotalCount { get; }
+        ulong CurrentIndex { get; }
+        ulong 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)
+        public OnBytesReadEventArgs(object sender, object userState, byte[] data, ulong currentIndex, ulong totalCount)
+            : this(sender, userState, data, currentIndex, totalCount, true) { }
+        public OnBytesReadEventArgs(object sender, object userState, byte[] data, ulong currentIndex, ulong 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; }
         public byte[] Data { get; private set; }
-        public uint CurrentIndex { get; private set; }
-        public uint TotalCount { get; private set; }
+        public ulong CurrentIndex { get; private set; }
+        public ulong 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