[longomatch] Add StopEvent to signal the stop of the capture



commit 1958b98ce1cd6befa90cafbb3c2382fb1b26a406
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Thu Feb 18 00:40:15 2010 +0100

    Add StopEvent to signal the stop of the capture

 CesarPlayer/Gui/CapturerBin.cs |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/CesarPlayer/Gui/CapturerBin.cs b/CesarPlayer/Gui/CapturerBin.cs
index 8027ec6..4643f60 100644
--- a/CesarPlayer/Gui/CapturerBin.cs
+++ b/CesarPlayer/Gui/CapturerBin.cs
@@ -33,6 +33,8 @@ namespace LongoMatch.Gui
 	[System.ComponentModel.ToolboxItem(true)]
 	public partial class CapturerBin : Gtk.Bin
 	{
+		public event EventHandler StopEvent;
+		
 		ICapturer capturer;
 		
 		public CapturerBin()
@@ -123,6 +125,8 @@ namespace LongoMatch.Gui
 				recbutton.Visible = true;
 				pausebutton.Visible = false;
 				stopbutton.Visible = false;
+				if (StopEvent != null)
+					StopEvent(this, new EventArgs());
 			}
 		}				
 		



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]