Changeset 1650

Show
Ignore:
Timestamp:
09/02/09 14:17:12 (11 years ago)
Author:
arnonym
Message:

More ints that are actually bools.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/libffado/support/dbus/control-interface.xml

    r1646 r1650  
    244244          <arg type="i" name="srcid" direction="in"/> 
    245245          <arg type="i" name="dstid" direction="in"/> 
    246           <arg type="i" name="state" direction="in"/> 
     246          <arg type="b" name="state" direction="in"/> 
    247247          <arg type="b" name="result" direction="out"/> 
    248248      </method> 
     
    260260          <arg type="s" name="srcname" direction="in"/> 
    261261          <arg type="s" name="dstname" direction="in"/> 
    262           <arg type="i" name="state" direction="in"/> 
     262          <arg type="b" name="state" direction="in"/> 
    263263          <arg type="b" name="result" direction="out"/> 
    264264      </method> 
  • trunk/libffado/support/dbus/controlserver.cpp

    r1646 r1650  
    884884 
    885885DBus::Bool 
    886 CrossbarRouter::setConnectionState(const DBus::Int32 &source, const DBus::Int32 &dest, const DBus::Int32 &enable) 
     886CrossbarRouter::setConnectionState(const DBus::Int32 &source, const DBus::Int32 &dest, const DBus::Bool &enable) 
    887887{ 
    888888    return m_Slave.setConnectionState(source, dest, enable); 
     
    902902 
    903903DBus::Bool 
    904 CrossbarRouter::setConnectionStateNamed(const DBus::String &source, const DBus::String &dest, const DBus::Int32 &enable) 
     904CrossbarRouter::setConnectionStateNamed(const DBus::String &source, const DBus::String &dest, const DBus::Bool &enable) 
    905905{ 
    906906    return m_Slave.setConnectionState(source, dest, enable); 
  • trunk/libffado/support/dbus/controlserver.h

    r1646 r1650  
    340340 
    341341    DBus::Bool  canConnect(const DBus::Int32 &source, const DBus::Int32 &dest); 
    342     DBus::Bool  setConnectionState(const DBus::Int32 &source, const DBus::Int32 &dest, const DBus::Int32 &enable); 
     342    DBus::Bool  setConnectionState(const DBus::Int32 &source, const DBus::Int32 &dest, const DBus::Bool &enable); 
    343343    DBus::Bool  getConnectionState(const DBus::Int32 &source, const DBus::Int32 &dest); 
    344344 
    345345    DBus::Bool  canConnectNamed(const DBus::String&, const DBus::String&); 
    346     DBus::Bool  setConnectionStateNamed(const DBus::String&, const DBus::String&, const DBus::Int32 &enable); 
     346    DBus::Bool  setConnectionStateNamed(const DBus::String&, const DBus::String&, const DBus::Bool &enable); 
    347347    DBus::Bool  getConnectionStateNamed(const DBus::String&, const DBus::String&); 
    348348