diff options
author | Lluis Sanchez Gual <lluis@xamarin.com> | 2015-04-20 19:07:51 +0300 |
---|---|---|
committer | Lluis Sanchez Gual <lluis@xamarin.com> | 2015-04-20 19:07:51 +0300 |
commit | 95408b1a41b31b645f3a8c3323ab7d3ca4bff26b (patch) | |
tree | f8f137cddcb9a40499d303be95722fd2c6081bce /main/src/addins/VersionControl/MonoDevelop.VersionControl/MonoDevelop.VersionControl.Views/BaseView.cs | |
parent | b70e4e04b4e41b8ec28d7e4b220b401ecf467e7a (diff) | |
parent | de043d330a8bf5855d4d983c804cd36727cb2406 (diff) |
Merge remote-tracking branch 'origin/roslyn' into new-project-model
Diffstat (limited to 'main/src/addins/VersionControl/MonoDevelop.VersionControl/MonoDevelop.VersionControl.Views/BaseView.cs')
-rw-r--r-- | main/src/addins/VersionControl/MonoDevelop.VersionControl/MonoDevelop.VersionControl.Views/BaseView.cs | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/main/src/addins/VersionControl/MonoDevelop.VersionControl/MonoDevelop.VersionControl.Views/BaseView.cs b/main/src/addins/VersionControl/MonoDevelop.VersionControl/MonoDevelop.VersionControl.Views/BaseView.cs index 26462b2335..f9bcd2461a 100644 --- a/main/src/addins/VersionControl/MonoDevelop.VersionControl/MonoDevelop.VersionControl.Views/BaseView.cs +++ b/main/src/addins/VersionControl/MonoDevelop.VersionControl/MonoDevelop.VersionControl.Views/BaseView.cs @@ -1,6 +1,7 @@ using System;
using System.IO;
using MonoDevelop.Ide.Gui;
+using System.Text;
namespace MonoDevelop.VersionControl {
@@ -13,10 +14,15 @@ namespace MonoDevelop.VersionControl this.name = name;
}
- protected virtual void SaveAs (string fileName)
+ protected virtual void SaveAs (FileSaveInformation fileSaveInformation)
{
}
+ void IViewContent.Load (FileOpenInformation fileOpenInformation)
+ {
+ throw new InvalidOperationException();
+ }
+
void IViewContent.Load (string fileName)
{
throw new InvalidOperationException();
@@ -38,9 +44,14 @@ namespace MonoDevelop.VersionControl void IViewContent.Save (string fileName)
{
- SaveAs (fileName);
- } - + SaveAs (new FileSaveInformation (fileName));
+ }
+
+ void IViewContent.Save (FileSaveInformation info)
+ {
+ SaveAs (info);
+ }
+
string IViewContent.ContentName {
get { return name; }
set { }
|