f-spot r4571 - trunk/src
- From: sdelcroix svn gnome org
- To: svn-commits-list gnome org
- Subject: f-spot r4571 - trunk/src
- Date: Tue, 4 Nov 2008 21:41:42 +0000 (UTC)
Author: sdelcroix
Date: Tue Nov 4 21:41:41 2008
New Revision: 4571
URL: http://svn.gnome.org/viewvc/f-spot?rev=4571&view=rev
Log:
missing file
Added:
trunk/src/ProgressItem.cs
Added: trunk/src/ProgressItem.cs
==============================================================================
--- (empty file)
+++ trunk/src/ProgressItem.cs Tue Nov 4 21:41:41 2008
@@ -0,0 +1,37 @@
+/*
+ * FSpot.PreogressItem.cs
+ *
+ * Author(s):
+ * Larry Ewing <lewing novell com>
+ *
+ * This is free software. See COPYING for details.
+ */
+
+using System;
+
+namespace FSpot {
+ public class ProgressItem {
+ public ProgressItem () {
+ }
+
+ public delegate void ChangedHandler (ProgressItem item);
+ public event ChangedHandler Changed;
+
+ double value;
+ public double Value {
+ get {
+ lock (this) {
+ return value;
+ }
+ }
+ set {
+ lock (this) {
+ this.value = value;
+ if (Changed != null)
+ Changed (this);
+ }
+ }
+ }
+ }
+}
+
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]