module DBus

Extended Modules

Defined in:

dbus.cr
introspect.cr
signature.cr

Instance Method Summary

Instance Method Detail

def signature_split(signature : String) : Array(String) #

Split a DBus signature into separate types


[View source]
def type_to_sig(type : UInt8.class) : String #

Slight optimization in trivial cases


[View source]
def type_to_sig(type : Bool.class) : String #

[View source]
def type_to_sig(type : Int16.class) : String #

[View source]
def type_to_sig(type : UInt16.class) : String #

[View source]
def type_to_sig(type : Int32.class) : String #

[View source]
def type_to_sig(type : UInt32.class) : String #

[View source]
def type_to_sig(type : Int64.class) : String #

[View source]
def type_to_sig(type : UInt64.class) : String #

[View source]
def type_to_sig(type : Float64.class) : String #

[View source]
def type_to_sig(type : String.class) : String #

[View source]
def type_to_sig(type : Variant.class) : String #

[View source]
def type_to_sig(type) : String #

Convert a Crystal type (limited subset) to a DBus signature


[View source]
def variant(value, signature : String | Nil = nil) #

[View source]