From f9ea1513d2f9eac0be12e8778abb460873b62563 Mon Sep 17 00:00:00 2001 From: gareth Date: Tue, 13 Mar 2007 09:43:24 +0000 Subject: Rolled back all but the VS solution --- src/ServerConsole/ServerConsole/AssemblyInfo.cs | 52 ++++++++++-------------- src/ServerConsole/ServerConsole/ServerConsole.cs | 22 ++++++---- 2 files changed, 34 insertions(+), 40 deletions(-) (limited to 'src/ServerConsole') diff --git a/src/ServerConsole/ServerConsole/AssemblyInfo.cs b/src/ServerConsole/ServerConsole/AssemblyInfo.cs index 00a9b7d..88b4019 100644 --- a/src/ServerConsole/ServerConsole/AssemblyInfo.cs +++ b/src/ServerConsole/ServerConsole/AssemblyInfo.cs @@ -1,31 +1,21 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// Information about this assembly is defined by the following -// attributes. -// -// change them to the information which is associated with the assembly -// you compile. - -[assembly: AssemblyTitle("ServerConsole")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("ServerConsole")] -[assembly: AssemblyCopyright("")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// This sets the default COM visibility of types in the assembly to invisible. -// If you need to expose a type to COM, use [ComVisible(true)] on that type. -[assembly: ComVisible(false)] - -// The assembly version has following format : -// -// Major.Minor.Build.Revision -// -// You can specify all values by your own or you can build default build and revision -// numbers with the '*' character (the default): - -[assembly: AssemblyVersion("1.0.*")] +using System; +using System.Reflection; +using System.Runtime.InteropServices; + +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Mono Runtime Version: 2.0.50727.42 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +[assembly: ComVisibleAttribute(false)] +[assembly: CLSCompliantAttribute(false)] +[assembly: AssemblyVersionAttribute("0.1.*.191")] +[assembly: AssemblyTitleAttribute("opensim-serverconsole")] +[assembly: AssemblyDescriptionAttribute("The default server console")] +[assembly: AssemblyCopyrightAttribute("Copyright © OGS development team 2007")] + diff --git a/src/ServerConsole/ServerConsole/ServerConsole.cs b/src/ServerConsole/ServerConsole/ServerConsole.cs index 27d97e5..93c8114 100644 --- a/src/ServerConsole/ServerConsole/ServerConsole.cs +++ b/src/ServerConsole/ServerConsole/ServerConsole.cs @@ -43,7 +43,12 @@ namespace ServerConsole instance = value; } } - } + + public MainConsole() + { + + } + } public abstract class ConsoleBase { @@ -55,15 +60,16 @@ namespace ServerConsole } public abstract void Close(); - - public abstract void Write(string format, params object[] args); - - public abstract void WriteLine(string format, params object[] args); - + + // You know what ReadLine() and WriteLine() do, right? And Read() and Write()? Right, you do actually know C#, right? Are you actually a programmer? Do you know english? Do you find my sense of humour in comments irritating? Good, glad you're still here + public abstract void WriteLine(string Line) ; + public abstract string ReadLine(); public abstract int Read() ; + public abstract void Write(string Line) ; + // Displays a command prompt and waits for the user to enter a string, then returns that string public abstract string CmdPrompt(string prompt) ; @@ -81,7 +87,5 @@ namespace ServerConsole // Displays a prompt to the user and then runs the command they entered public abstract void MainConsolePrompt() ; - - public abstract void SetStatus( string status ); - } + } } -- cgit v1.1