aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Console/MockConsole.cs
blob: 57c56f1017ca4b453f8cd0952034775c910c207c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
using System;
using System.Threading;
using System.Collections.Generic;
using System.Text;

namespace OpenSim.Framework.Console
{
    public class MockConsole : CommandConsole
    {
        public MockConsole(string defaultPrompt) : base(defaultPrompt)
        {
        }
        public override void Output(string text)
        {
        }
        public override void Output(string text, string level)
        {
        }

        public override string ReadLine(string p, bool isCommand, bool e)
        {
            //Thread.CurrentThread.Join(1000);
            return string.Empty;
        }
        public override void UnlockOutput()
        {
        }
        public override void LockOutput()
        {
        }
    }
}