Skip to content
This repository has been archived by the owner on Nov 8, 2022. It is now read-only.

Commit

Permalink
Change namespace from NDesk.DBus to DBus
Browse files Browse the repository at this point in the history
  • Loading branch information
bl8 committed Sep 4, 2010
1 parent a350d42 commit 168effe
Show file tree
Hide file tree
Showing 53 changed files with 81 additions and 81 deletions.
2 changes: 1 addition & 1 deletion examples/Notifications.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using System;
using System.Collections.Generic;

using NDesk.DBus;
using DBus;
using org.freedesktop.DBus;

// Hand-written interfaces for bootstrapping
Expand Down
2 changes: 1 addition & 1 deletion examples/Test.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// See COPYING for details

using System;
using NDesk.DBus;
using DBus;
using org.freedesktop.DBus;

public class ManagedDBusTest
Expand Down
2 changes: 1 addition & 1 deletion examples/TestExceptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

using System;
using System.Collections.Generic;
using NDesk.DBus;
using DBus;
using org.freedesktop.DBus;

public class ManagedDBusTestExceptions
Expand Down
4 changes: 2 additions & 2 deletions examples/TestExport.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

using System;
using System.Collections.Generic;
using NDesk.DBus;
using DBus;
using org.freedesktop.DBus;

//NOTE: MarshalByRefObject use is not recommended in new code
Expand Down Expand Up @@ -34,7 +34,7 @@ public static void Main ()
}

demo.Say ("Hello world!");
demo.Say ("Sibérie");
demo.Say ("Sibérie");
demo.Say (21);
demo.SayByteArray (new byte[] {0, 2, 1}, "test string");
demo.SayByteEnumArray (new BEnum[] {BEnum.Zero, BEnum.Two, BEnum.One}, "test string two");
Expand Down
2 changes: 1 addition & 1 deletion examples/TestExportInterface.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

using System;
using System.Collections.Generic;
using NDesk.DBus;
using DBus;
using org.freedesktop.DBus;

public class ManagedDBusTestExport
Expand Down
2 changes: 1 addition & 1 deletion examples/TestNotifications.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using System;
using System.Collections.Generic;

using NDesk.DBus;
using DBus;
using org.freedesktop;
using org.freedesktop.DBus;

Expand Down
2 changes: 1 addition & 1 deletion examples/TestObjects.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

using System;
using System.Collections.Generic;
using NDesk.DBus;
using DBus;
using org.freedesktop.DBus;

public class ManagedDBusTestObjects
Expand Down
2 changes: 1 addition & 1 deletion examples/TestRental.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
using System.Reflection;
using System.Reflection.Emit;
using System.Collections.Generic;
using NDesk.DBus;
using DBus;
using org.freedesktop.DBus;

public class ManagedDBusTestRental
Expand Down
2 changes: 1 addition & 1 deletion examples/TestSample.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

using System;
using System.Collections.Generic;
using NDesk.DBus;
using DBus;
using org.freedesktop.DBus;

public class ManagedDBusTestSample
Expand Down
2 changes: 1 addition & 1 deletion examples/TestServer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// See COPYING for details

using System;
using NDesk.DBus;
using DBus;
using org.freedesktop.DBus;

using System.IO;
Expand Down
4 changes: 2 additions & 2 deletions examples/TestServerNative.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// See COPYING for details

using System;
using NDesk.DBus;
using DBus;
using org.freedesktop.DBus;

using System.IO;
Expand All @@ -12,7 +12,7 @@
using System.Threading;

using System.Text;
using NDesk.DBus.Transports;
using DBus.Transports;

public class TestServerNative
{
Expand Down
4 changes: 2 additions & 2 deletions examples/TestServerTcp.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
// See COPYING for details

using System;
using NDesk.DBus;
using NDesk.DBus.Transports;
using DBus;
using DBus.Transports;
using org.freedesktop.DBus;

using System.IO;
Expand Down
2 changes: 1 addition & 1 deletion src/Address.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
using System.Text;
using System.Collections.Generic;

namespace NDesk.DBus
namespace DBus
{
// Subclass obsolete BadAddressException to avoid ABI break
#pragma warning disable 0618
Expand Down
4 changes: 2 additions & 2 deletions src/Authentication.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
using System.Text.RegularExpressions;
using System.Globalization;

namespace NDesk.DBus
namespace DBus
{
using Authentication;

Expand Down Expand Up @@ -156,7 +156,7 @@ public DateTime Timestamp
}
}

namespace NDesk.DBus.Authentication
namespace DBus.Authentication
{
enum ClientState
{
Expand Down
2 changes: 1 addition & 1 deletion src/Bus.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
using System.Collections.Generic;
using org.freedesktop.DBus;

namespace NDesk.DBus
namespace DBus
{
public sealed class Bus : Connection
{
Expand Down
2 changes: 1 addition & 1 deletion src/BusObject.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
using System.Reflection.Emit;
using System.Collections.Generic;

namespace NDesk.DBus
namespace DBus
{
class BusObject
{
Expand Down
2 changes: 1 addition & 1 deletion src/Connection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
using System.Threading;
using System.Reflection;

namespace NDesk.DBus
namespace DBus
{
using Authentication;
using Transports;
Expand Down
2 changes: 1 addition & 1 deletion src/DBus.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

using System;
using System.Collections.Generic;
using NDesk.DBus;
using DBus;

namespace org.freedesktop.DBus
{
Expand Down
2 changes: 1 addition & 1 deletion src/DProxy.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
using System.Runtime.Remoting.Proxies;
using System.Runtime.Remoting.Messaging;

namespace NDesk.DBus
namespace DBus
{
//marked internal because this is really an implementation detail and needs to be replaced
internal class DProxy : RealProxy
Expand Down
12 changes: 6 additions & 6 deletions src/Daemon.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
using System.IO;
using System.Text;

using NDesk.DBus;
using NDesk.Unix;
using DBus;
using DBus.Unix;

public class DBusDaemon
{
Expand Down Expand Up @@ -48,7 +48,7 @@ public static void Main (string[] args)
} else if (fd == 2) {
tw = Console.Error;
} else {
Stream fs = new NDesk.Unix.UnixStream (fd);
Stream fs = new UnixStream (fd);
tw = new StreamWriter (fs, Encoding.ASCII);
tw.NewLine = "\n";
}
Expand All @@ -69,8 +69,8 @@ public static void Main (string[] args)

switch (arg) {
case "--version":
//Console.WriteLine ("NDesk D-Bus Message Bus Daemon " + Introspector.GetProductDescription ());
Console.WriteLine ("NDesk D-Bus Message Bus Daemon " + "0.1");
//Console.WriteLine ("D-Bus Message Bus Daemon " + Introspector.GetProductDescription ());
Console.WriteLine ("D-Bus Message Bus Daemon " + "0.1");
return;
case "--system":
break;
Expand Down Expand Up @@ -138,7 +138,7 @@ public static void Main (string[] args)
} else if (fd == 2) {
tw = Console.Error;
} else {
Stream fs = new NDesk.Unix.UnixStream (fd);
Stream fs = new UnixStream (fd);
tw = new StreamWriter (fs, Encoding.ASCII);
tw.NewLine = "\n";
}
Expand Down
2 changes: 1 addition & 1 deletion src/DynamicExportObject.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

using org.freedesktop.DBus;

namespace NDesk.DBus
namespace DBus
{
internal class DynamicExportObject : ExportObject
{
Expand Down
2 changes: 1 addition & 1 deletion src/ExportObject.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

using org.freedesktop.DBus;

namespace NDesk.DBus
namespace DBus
{
//TODO: perhaps ExportObject should not derive from BusObject
internal class ExportObject : BusObject, IDisposable //, Peer
Expand Down
2 changes: 1 addition & 1 deletion src/Introspection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
using System.Text;
using System.Reflection;

namespace NDesk.DBus
namespace DBus
{
//TODO: complete this class
class Introspector
Expand Down
2 changes: 1 addition & 1 deletion src/IntrospectionSchema.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
using System.Xml.Serialization;
using System.Collections.Generic;

namespace NDesk.DBus.Introspection
namespace DBus.Introspection
{
[XmlRootAttribute(IsNullable=true)]
public class Member {
Expand Down
2 changes: 1 addition & 1 deletion src/Mapper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
using System.Collections.Generic;
using System.Reflection;

namespace NDesk.DBus
namespace DBus
{
static class Mapper
{
Expand Down
2 changes: 1 addition & 1 deletion src/MatchRule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
using System.Text.RegularExpressions;
using System.Collections.Generic;

namespace NDesk.DBus
namespace DBus
{
class MatchRule
{
Expand Down
2 changes: 1 addition & 1 deletion src/Message.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
using System.Collections.Generic;
using System.IO;

namespace NDesk.DBus
namespace DBus
{
class Message
{
Expand Down
2 changes: 1 addition & 1 deletion src/MessageFilter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

using System;

namespace NDesk.DBus
namespace DBus
{
class MessageFilter
{
Expand Down
2 changes: 1 addition & 1 deletion src/MessageReader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
using System.IO;
using System.Reflection;

namespace NDesk.DBus
namespace DBus
{
partial class MessageReader
{
Expand Down
2 changes: 1 addition & 1 deletion src/MessageWriter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
using System.Reflection;
using System.Runtime.InteropServices;

namespace NDesk.DBus
namespace DBus
{
sealed class MessageWriter
{
Expand Down
2 changes: 1 addition & 1 deletion src/PendingCall.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using System;
using System.Threading;

namespace NDesk.DBus
namespace DBus
{
class PendingCall : IAsyncResult
{
Expand Down
2 changes: 1 addition & 1 deletion src/PipeTransport.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

using System.Threading;

namespace NDesk.DBus.Transports
namespace DBus.Transports
{
class PipeTransport : Transport
{
Expand Down
2 changes: 1 addition & 1 deletion src/Protocol.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using System;
using System.Collections.Generic;

namespace NDesk.DBus
namespace DBus
{
//yyyyuua{yv}
//struct Header
Expand Down
Loading

0 comments on commit 168effe

Please sign in to comment.