Allow ObjectPath in PathIface constructor

This commit is contained in:
WebFreak001 2017-10-19 21:07:39 +02:00
parent fd9b7ebdff
commit eeab026852

View file

@ -8,6 +8,10 @@ import std.string;
import std.traits;
class PathIface {
this(Connection conn, string dest, ObjectPath path, string iface) {
this(conn, dest, path.value, iface);
}
this(Connection conn, string dest, string path, string iface) {
this.conn = conn;
this.dest = dest.toStringz();