conduit r1281 - in trunk/conduit-sharp: . src test
- From: thomasvm svn gnome org
- To: svn-commits-list gnome org
- Subject: conduit r1281 - in trunk/conduit-sharp: . src test
- Date: Wed, 6 Feb 2008 19:26:38 +0000 (GMT)
Author: thomasvm
Date: Wed Feb 6 19:26:38 2008
New Revision: 1281
URL: http://svn.gnome.org/viewvc/conduit?rev=1281&view=rev
Log:
2008-02-06 Thomas Van Machelen <thomas vanmachelen gmail com>
* src/DataProvider.cs: fix IsConfigured api
* test/test-application.cs: reflect change
Modified:
trunk/conduit-sharp/ChangeLog
trunk/conduit-sharp/src/DataProvider.cs
trunk/conduit-sharp/test/test-application.cs
Modified: trunk/conduit-sharp/src/DataProvider.cs
==============================================================================
--- trunk/conduit-sharp/src/DataProvider.cs (original)
+++ trunk/conduit-sharp/src/DataProvider.cs Wed Feb 6 19:26:38 2008
@@ -14,7 +14,7 @@
IDictionary<string, string> GetInformation ();
- bool IsConfigured ();
+ bool IsConfigured (bool isSource, bool isTwoWay);
bool IsPending ();
@@ -50,8 +50,8 @@
return dbus_dataprovider.GetInformation ();
}
- public bool IsConfigured () {
- return dbus_dataprovider.IsConfigured ();
+ public bool IsConfigured (bool isSource, bool isTwoWay) {
+ return dbus_dataprovider.IsConfigured (isSource, isTwoWay);
}
public bool IsPending () {
Modified: trunk/conduit-sharp/test/test-application.cs
==============================================================================
--- trunk/conduit-sharp/test/test-application.cs (original)
+++ trunk/conduit-sharp/test/test-application.cs Wed Feb 6 19:26:38 2008
@@ -11,7 +11,7 @@
foreach (KeyValuePair<string, string> keyPair in dp.GetInformation())
Console.WriteLine("{0} {1}", keyPair.Key, keyPair.Value);
- Console.WriteLine("Configured: {0}", dp.IsConfigured());
+ Console.WriteLine("Configured: {0}", dp.IsConfigured(true, true));
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]