[f-spot] Split classes out into their own files.



commit 31f01cd94d79f505f3f4ea4d5887f6927be17105
Author: Ruben Vermeersch <ruben savanne be>
Date:   Wed Jul 8 14:41:07 2009 +0100

    Split classes out into their own files.

 src/Loaders/AreaPreparedEventArgs.cs |   29 +++++++++++++++++++++++++++++
 src/Loaders/AreaUpdatedEventArgs.cs  |   28 ++++++++++++++++++++++++++++
 src/Loaders/IImageLoader.cs          |   28 ----------------------------
 src/Makefile.am                      |    2 ++
 4 files changed, 59 insertions(+), 28 deletions(-)
---
diff --git a/src/Loaders/AreaPreparedEventArgs.cs b/src/Loaders/AreaPreparedEventArgs.cs
new file mode 100644
index 0000000..82387d7
--- /dev/null
+++ b/src/Loaders/AreaPreparedEventArgs.cs
@@ -0,0 +1,29 @@
+//
+// Fspot.Loaders.AreaPreparedEventArgs.cs
+//
+// Copyright (c) 2009 Novell, Inc.
+//
+// Author(s)
+//	Stephane Delcroix  <sdelcroix novell com>
+//
+// This is free software. See COPYING for details
+//
+
+using System;
+using Gdk;
+
+namespace FSpot.Loaders {
+	public class AreaPreparedEventArgs : EventArgs
+	{
+		bool reduced_resolution;
+
+		public bool ReducedResolution {
+			get { return reduced_resolution; }
+		}
+	
+		public AreaPreparedEventArgs (bool reduced_resolution) : base ()
+		{
+			this.reduced_resolution = reduced_resolution;
+		}
+	}
+}
diff --git a/src/Loaders/AreaUpdatedEventArgs.cs b/src/Loaders/AreaUpdatedEventArgs.cs
new file mode 100644
index 0000000..7308edf
--- /dev/null
+++ b/src/Loaders/AreaUpdatedEventArgs.cs
@@ -0,0 +1,28 @@
+//
+// Fspot.Loaders.AreaUpdatedEventArgs.cs
+//
+// Copyright (c) 2009 Novell, Inc.
+//
+// Author(s)
+//	Stephane Delcroix  <sdelcroix novell com>
+//
+// This is free software. See COPYING for details
+//
+
+using System;
+using Gdk;
+
+namespace FSpot.Loaders {
+	public class AreaUpdatedEventArgs : EventArgs
+	{
+		Gdk.Rectangle area;
+		public Gdk.Rectangle Area { 
+			get { return area; }
+		}
+
+		public AreaUpdatedEventArgs (Gdk.Rectangle area) : base ()
+		{
+			this.area = area;
+		}
+	}
+}
diff --git a/src/Loaders/IImageLoader.cs b/src/Loaders/IImageLoader.cs
index 4381949..84c7408 100644
--- a/src/Loaders/IImageLoader.cs
+++ b/src/Loaders/IImageLoader.cs
@@ -4,7 +4,6 @@
 // Copyright (c) 2009 Novell, Inc.
 //
 // Author(s)
-//	Stephane Delcroix  <sdelcroix novell com>
 //	Ruben Vermeersch  <ruben savanne be>
 //
 // This is free software. See COPYING for details
@@ -15,33 +14,6 @@ using System;
 using Gdk;
 
 namespace FSpot.Loaders {
-	public class AreaPreparedEventArgs : EventArgs
-	{
-		bool reduced_resolution;
-
-		public bool ReducedResolution {
-			get { return reduced_resolution; }
-		}
-	
-		public AreaPreparedEventArgs (bool reduced_resolution) : base ()
-		{
-			this.reduced_resolution = reduced_resolution;
-		}
-	}
-
-	public class AreaUpdatedEventArgs : EventArgs
-	{
-		Gdk.Rectangle area;
-		public Gdk.Rectangle Area { 
-			get { return area; }
-		}
-
-		public AreaUpdatedEventArgs (Gdk.Rectangle area) : base ()
-		{
-			this.area = area;
-		}
-	}
-
 	public interface IImageLoader : IDisposable {
 		bool Loading { get; }	
 
diff --git a/src/Makefile.am b/src/Makefile.am
index 30f4b5d..fa72e3b 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -174,6 +174,8 @@ F_SPOT_CSDISTFILES =				\
 	$(srcdir)/GroupSelector.cs		\
 	$(srcdir)/Accelerometer.cs		\
 	$(srcdir)/Histogram.cs			\
+	$(srcdir)/Loaders/AreaPreparedEventArgs.cs		\
+	$(srcdir)/Loaders/AreaUpdatedEventArgs.cs		\
 	$(srcdir)/Loaders/IImageLoader.cs		\
 	$(srcdir)/Loaders/GdkImageLoader.cs		\
 	$(srcdir)/ImageLoaderThread.cs		\



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