All pastes #154622 Raw Edit

Miscellany

public text v1 · immutable
#154622 ·published 2006-08-30 13:36 UTC
rendered paste body
Index: IConnectionManager.cs
===================================================================
--- IConnectionManager.cs       (revision 273)
+++ IConnectionManager.cs       (working copy)
@@ -7,20 +7,14 @@
        // fake
        public interface Introspectable {};

-       public delegate void NewConnectionHandler (string bus_name, ObjectPath object_path, string proto);
+       public delegate void NewConnectionHandler (IConnection conn, string proto);

-       public struct Connection
-       {
-               public string bus_name;
-               public ObjectPath object_path;
-       }
-
        [Interface ("org.freedesktop.Telepathy.ConnectionManager")]
        public interface IConnectionManager : Introspectable
        {
                event NewConnectionHandler NewConnection;

-               Connection RequestConnection (string protocol, IDictionary<string, System.Object> parameters);
+               IConnection RequestConnection (string protocol, IDictionary<string, System.Object> parameters);
                IDictionary<string, System.Object> GetParameters (string proto);
                string[] ListProtocols ();
        }