aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/ServerConsole
diff options
context:
space:
mode:
authorgareth2007-03-13 09:43:24 +0000
committergareth2007-03-13 09:43:24 +0000
commitf9ea1513d2f9eac0be12e8778abb460873b62563 (patch)
tree66855dbdfc6e9a98697e5d2bdf1bf03f7dd823ad /src/ServerConsole
parent-- Trying to get trunk to run from first build (diff)
downloadopensim-SC_OLD-f9ea1513d2f9eac0be12e8778abb460873b62563.zip
opensim-SC_OLD-f9ea1513d2f9eac0be12e8778abb460873b62563.tar.gz
opensim-SC_OLD-f9ea1513d2f9eac0be12e8778abb460873b62563.tar.bz2
opensim-SC_OLD-f9ea1513d2f9eac0be12e8778abb460873b62563.tar.xz
Rolled back all but the VS solution
Diffstat (limited to 'src/ServerConsole')
-rw-r--r--src/ServerConsole/ServerConsole/AssemblyInfo.cs52
-rw-r--r--src/ServerConsole/ServerConsole/ServerConsole.cs22
2 files changed, 34 insertions, 40 deletions
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 @@
1using System.Reflection; 1using System;
2using System.Runtime.CompilerServices; 2using System.Reflection;
3using System.Runtime.InteropServices; 3using System.Runtime.InteropServices;
4 4
5// Information about this assembly is defined by the following 5// ------------------------------------------------------------------------------
6// attributes. 6// <autogenerated>
7// 7// This code was generated by a tool.
8// change them to the information which is associated with the assembly 8// Mono Runtime Version: 2.0.50727.42
9// you compile. 9//
10 10// Changes to this file may cause incorrect behavior and will be lost if
11[assembly: AssemblyTitle("ServerConsole")] 11// the code is regenerated.
12[assembly: AssemblyDescription("")] 12// </autogenerated>
13[assembly: AssemblyConfiguration("")] 13// ------------------------------------------------------------------------------
14[assembly: AssemblyCompany("")] 14
15[assembly: AssemblyProduct("ServerConsole")] 15[assembly: ComVisibleAttribute(false)]
16[assembly: AssemblyCopyright("")] 16[assembly: CLSCompliantAttribute(false)]
17[assembly: AssemblyTrademark("")] 17[assembly: AssemblyVersionAttribute("0.1.*.191")]
18[assembly: AssemblyCulture("")] 18[assembly: AssemblyTitleAttribute("opensim-serverconsole")]
19 19[assembly: AssemblyDescriptionAttribute("The default server console")]
20// This sets the default COM visibility of types in the assembly to invisible. 20[assembly: AssemblyCopyrightAttribute("Copyright © OGS development team 2007")]
21// If you need to expose a type to COM, use [ComVisible(true)] on that type. 21
22[assembly: ComVisible(false)]
23
24// The assembly version has following format :
25//
26// Major.Minor.Build.Revision
27//
28// You can specify all values by your own or you can build default build and revision
29// numbers with the '*' character (the default):
30
31[assembly: AssemblyVersion("1.0.*")]
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
43 instance = value; 43 instance = value;
44 } 44 }
45 } 45 }
46 } 46
47 public MainConsole()
48 {
49
50 }
51 }
47 52
48 public abstract class ConsoleBase 53 public abstract class ConsoleBase
49 { 54 {
@@ -55,15 +60,16 @@ namespace ServerConsole
55 } 60 }
56 61
57 public abstract void Close(); 62 public abstract void Close();
58 63
59 public abstract void Write(string format, params object[] args); 64 // 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
60 65 public abstract void WriteLine(string Line) ;
61 public abstract void WriteLine(string format, params object[] args); 66
62
63 public abstract string ReadLine(); 67 public abstract string ReadLine();
64 68
65 public abstract int Read() ; 69 public abstract int Read() ;
66 70
71 public abstract void Write(string Line) ;
72
67 // Displays a command prompt and waits for the user to enter a string, then returns that string 73 // Displays a command prompt and waits for the user to enter a string, then returns that string
68 public abstract string CmdPrompt(string prompt) ; 74 public abstract string CmdPrompt(string prompt) ;
69 75
@@ -81,7 +87,5 @@ namespace ServerConsole
81 87
82 // Displays a prompt to the user and then runs the command they entered 88 // Displays a prompt to the user and then runs the command they entered
83 public abstract void MainConsolePrompt() ; 89 public abstract void MainConsolePrompt() ;
84 90 }
85 public abstract void SetStatus( string status );
86 }
87} 91}