diff Implab/ITaskController.cs @ 25:9bf5b23650c9

refactoring
author cin
date Thu, 06 Feb 2014 01:08:59 +0400
parents eb418ba8275b
children 706fccb85524
line wrap: on
line diff
--- a/Implab/ITaskController.cs	Thu Nov 14 01:15:07 2013 +0400
+++ b/Implab/ITaskController.cs	Thu Feb 06 01:08:59 2014 +0400
@@ -4,9 +4,11 @@
 using System.Text;
 
 namespace Implab {
-    public interface ITaskController: IProgressHandler {
-        bool Cancelled {
+    public interface ITaskController: IProgressHandler, ICancellable {
+        bool IsCancelled {
             get;
         }
+
+        event EventHandler Cancelled;
     }
 }