[Monodevelop-patches-list] r2628 - in trunk/MonoDevelop/Core/src/AddIns/BackendBindings/NemerleBinding: . Project
Lluis Sanchez <lluis@ximian.com>
lluis at mono-cvs.ximian.com
Mon Jul 11 10:52:36 EDT 2005
Author: lluis
Date: 2005-07-11 10:52:36 -0400 (Mon, 11 Jul 2005)
New Revision: 2628
Modified:
trunk/MonoDevelop/Core/src/AddIns/BackendBindings/NemerleBinding/ChangeLog
trunk/MonoDevelop/Core/src/AddIns/BackendBindings/NemerleBinding/NemerleLanguageBinding.cs
trunk/MonoDevelop/Core/src/AddIns/BackendBindings/NemerleBinding/Project/NemerleParameters.cs
Log:
2005-07-11 Lluis Sanchez Gual <lluis at novell.com>
* Project/NemerleParameters.cs: Implement ICloneable.
* NemerleLanguageBinding.cs: CreateCompilationParameters now returns an
ICloneable.
Modified: trunk/MonoDevelop/Core/src/AddIns/BackendBindings/NemerleBinding/ChangeLog
===================================================================
--- trunk/MonoDevelop/Core/src/AddIns/BackendBindings/NemerleBinding/ChangeLog 2005-07-11 14:52:07 UTC (rev 2627)
+++ trunk/MonoDevelop/Core/src/AddIns/BackendBindings/NemerleBinding/ChangeLog 2005-07-11 14:52:36 UTC (rev 2628)
@@ -1,3 +1,9 @@
+2005-07-11 Lluis Sanchez Gual <lluis at novell.com>
+
+ * Project/NemerleParameters.cs: Implement ICloneable.
+ * NemerleLanguageBinding.cs: CreateCompilationParameters now returns an
+ ICloneable.
+
2005-04-17 John Luke <john.luke at gmail.com>
* Makefile.am: fix distcheck
Modified: trunk/MonoDevelop/Core/src/AddIns/BackendBindings/NemerleBinding/NemerleLanguageBinding.cs
===================================================================
--- trunk/MonoDevelop/Core/src/AddIns/BackendBindings/NemerleBinding/NemerleLanguageBinding.cs 2005-07-11 14:52:07 UTC (rev 2627)
+++ trunk/MonoDevelop/Core/src/AddIns/BackendBindings/NemerleBinding/NemerleLanguageBinding.cs 2005-07-11 14:52:36 UTC (rev 2628)
@@ -46,7 +46,7 @@
compilerServices.GenerateMakefile(project, parentCombine);
}
- public object CreateCompilationParameters (XmlElement projectOptions)
+ public ICloneable CreateCompilationParameters (XmlElement projectOptions)
{
return new NemerleParameters ();
}
Modified: trunk/MonoDevelop/Core/src/AddIns/BackendBindings/NemerleBinding/Project/NemerleParameters.cs
===================================================================
--- trunk/MonoDevelop/Core/src/AddIns/BackendBindings/NemerleBinding/Project/NemerleParameters.cs 2005-07-11 14:52:07 UTC (rev 2627)
+++ trunk/MonoDevelop/Core/src/AddIns/BackendBindings/NemerleBinding/Project/NemerleParameters.cs 2005-07-11 14:52:36 UTC (rev 2628)
@@ -7,7 +7,7 @@
namespace NemerleBinding
{
- public class NemerleParameters
+ public class NemerleParameters: ICloneable
{
[ItemProperty("nostdmacros")]
public bool nostdmacros = false;
@@ -30,6 +30,11 @@
[ItemProperty("parameters")]
public string parameters = String.Empty;
+ public object Clone ()
+ {
+ return MemberwiseClone ();
+ }
+
public bool Nostdmacros
{
get { return nostdmacros; }
More information about the Monodevelop-patches-list
mailing list