diff options
Diffstat (limited to 'main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Desktop/PlatformService.cs')
-rw-r--r-- | main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Desktop/PlatformService.cs | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Desktop/PlatformService.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Desktop/PlatformService.cs index a0c7c71d58..dfedfb0155 100644 --- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Desktop/PlatformService.cs +++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Desktop/PlatformService.cs @@ -55,10 +55,7 @@ namespace MonoDevelop.Ide.Desktop public abstract string Name { get; } - /// <summary> - /// Used in the text editor. Valid values are found in MonoDevelop.SourceEditor.ControlLeftRightMode in the - /// source editor project. - /// </summary> + [Obsolete] public virtual string DefaultControlLeftRightBehavior { get { return "MonoDevelop"; @@ -347,7 +344,7 @@ namespace MonoDevelop.Ide.Desktop } //must be implemented if CanOpenTerminal returns true - public virtual IProcessAsyncOperation StartConsoleProcess ( + public virtual ProcessAsyncOperation StartConsoleProcess ( string command, string arguments, string workingDirectory, IDictionary<string, string> environmentVariables, string title, bool pauseWhenFinished) @@ -458,5 +455,19 @@ namespace MonoDevelop.Ide.Desktop SetMainWindowDecorations (window); } } + + public virtual void AddChildWindow (Gtk.Window parent, Gtk.Window child) + { + } + + public virtual void RemoveChildWindow (Gtk.Window parent, Gtk.Window child) + { + } + + public virtual void PlaceWindow (Gtk.Window window, int x, int y, int width, int height) + { + window.Move (x, y); + window.Resize (width, height); + } } } |