[go: up one dir, main page]

gvnc 0.3.0

Rust bindings for the GVnc library
[options]
girs_directories = ["../gir-files"]
library = "GVnc"
version = "1.0"
min_cfg_version = "1.0.0"
target_path = "."
work_mode = "normal"
generate_safety_asserts = true
deprecate_by_min_version = true
single_version_file = true

manual = [
    "GObject.ValueArray",
    "Gio.SocketAddress",
]

generate = [
    "GVnc.Audio",
    "GVnc.AudioFormat",
    "GVnc.AudioFormatType",
    "GVnc.AudioSample",
    "GVnc.BaseAudio",
    "GVnc.ColorMap",
    "GVnc.ConnectionAuth",
    "GVnc.ConnectionAuthVencrypt",
    "GVnc.ConnectionCredential",
    "GVnc.ConnectionEncoding",
    "GVnc.ConnectionPowerAction",
    "GVnc.ConnectionResizeStatus",
    "GVnc.PixelFormat",
]

[[object]]
name = "GVnc.Connection"
status = "generate"
final_type = true
generate_builder = true
    [[object.function]]
    name = "audio_disable"
        [object.function.return]
        bool_return_is_error = "Failed to disable audio"

    [[object.function]]
    name = "audio_enable"
        [object.function.return]
        bool_return_is_error = "Failed to enable audio"

    [[object.function]]
    name = "client_cut_text"
    manual = true # data[] type is unspecified

    [[object.function]]
    name = "key_event"
        [object.function.return]
        bool_return_is_error = "Failed to send key event"

    [[object.function]]
    name = "framebuffer_update_request"
        [object.function.return]
        bool_return_is_error = "Failed to update framebuffer"

    [[object.function]]
    name = "open_addr"
        [object.function.return]
        bool_return_is_error = "Connection was already opened"

    [[object.function]]
    name = "open_fd"
        [object.function.return]
        bool_return_is_error = "Connection was already opened"

    [[object.function]]
    name = "open_fd_with_hostname"
        [object.function.return]
        bool_return_is_error = "Connection was already opened"

    [[object.function]]
    name = "open_host"
        [object.function.return]
        bool_return_is_error = "Connection was already opened"

    [[object.function]]
    name = "pointer_event"
        [object.function.return]
        bool_return_is_error = "Failed to send pointer event"

    [[object.function]]
    name = "power_control"
        [object.function.return]
        bool_return_is_error = "Failed to send power control"

    [[object.function]]
    name = "set_audio"
        [object.function.return]
        bool_return_is_error = "Failed to set audio"

    [[object.function]]
    name = "set_audio_format"
        [object.function.return]
        bool_return_is_error = "Failed to set audio format"

    [[object.function]]
    name = "set_auth_subtype"
        [object.function.return]
        bool_return_is_error = "Failed to set auth subtype"

    [[object.function]]
    name = "set_auth_type"
        [object.function.return]
        bool_return_is_error = "Failed to set auth type"

    [[object.function]]
    name = "set_credential"
        [object.function.return]
        bool_return_is_error = "Failed to set credential"

    [[object.function]]
    name = "set_encodings"
        [object.function.return]
        bool_return_is_error = "Failed to set encodings"

    [[object.function]]
    name = "set_framebuffer"
        [object.function.return]
        bool_return_is_error = "Failed to set framebuffer"

    [[object.function]]
    name = "set_shared"
        [object.function.return]
        bool_return_is_error = "Failed to set shared"

    [[object.function]]
    name = "set_pixel_format"
        [object.function.return]
        bool_return_is_error = "Failed to set pixel format"

[[object]]
name = "GVnc.BaseFramebuffer"
status = "generate"
generate_builder = true

[[object]]
name = "GVnc.Cursor"
status = "generate"
final_type = true
generate_builder = true
    [[object.function]]
    name = "get_data"
    manual = true # data[] size must be deducted

[[object]]
name = "GVnc.Framebuffer"
status = "generate"
final_type = true
generate_builder = true
    [[object.function]]
    name = "blt"
    ignore = true # must be manual to handle src[]
    [[object.function]]
    name = "get_buffer"
    manual = true # data[] size must be deducted