Some timeout issues
[pithos-ms-client] / trunk / Pithos.Core / IStatusNotification.cs
index 201d37d..1f29ad7 100644 (file)
@@ -57,6 +57,8 @@ namespace Pithos.Core
         void Notify(Notification notification);\r
         void SetPithosStatus(PithosStatus status);\r
         void SetPithosStatus(PithosStatus localSyncing, string format);\r
+        //Notifier GetNotifier(Notification startNotification, Notification endNotification);\r
+        Notifier GetNotifier(string startMessage, string endMessage,bool isActive=true,params object[] args);\r
     }\r
 \r
     public class Notification\r
@@ -85,17 +87,21 @@ namespace Pithos.Core
     public class ProgressNotification:Notification\r
     {\r
         public string FileName { get; set; }\r
-        public int Block { get; set; }\r
+        public long Block { get; set; }\r
         public int TotalBlocks { get; set; }\r
         public long FileSize { get; set; }\r
         public string Action { get; set; }\r
-        public ProgressNotification(string fileName, string action,int block, int totalBlocks, long fileSize)\r
+        public int BlockPercentage { get; set; }\r
+        \r
+        public ProgressNotification(string fileName, string action, long block, int blockPercentage,int totalBlocks, long fileSize)\r
         {\r
             FileName = fileName;\r
             Block = block;\r
             TotalBlocks = totalBlocks;\r
             FileSize = fileSize;\r
             Action = action;\r
+            BlockPercentage = blockPercentage;\r
+\r
         }\r
     }\r
 \r
@@ -122,6 +128,10 @@ namespace Pithos.Core
     {\r
         \r
     }\r
+    public class CloudDeleteNotification:CloudNotification\r
+    {\r
+        \r
+    }\r
 \r
     public class ExpirationNotification:Notification<AccountSettings>\r
     {\r