summaryrefslogblamecommitdiff
path: root/src/lib/eldbus/eldbus_model_object.eo
blob: 2ccf638f88160283535e00287b6b2c936fc43006 (plain) (tree)
1
2
3
4
5

                    
                                                     

                                 








                                                      

                                                                     














                                                                         
                               




                           
                                      




                                    
                                                                    




                            
                                      




                                    
                         

























                                          
import eldbus_types;

class Eldbus.Model_Object (Eo.Base, Efl.Model.Base) {
    [[Eldbus model object class]]

    legacy_prefix: null;
    data: Eldbus_Model_Object_Data;
    methods {
        constructor {
            [[Custom Eldbus_Model_Object constructor.

              @since 1.16]]
            params {
                @in type: int; [[The connection type]]
                @in address: const(char)*; [[Remote address of DBus]]
                @in private_: bool; [[Non shared DBus connection]]
                @in bus: const(char)*; [[DBus Name or unique-id]]
                @in path: const(char)*; [[DBus path]]
            }
        }
        connection_constructor {
            [[Custom Eldbus_Model_Object connection_constructor.

              @since 1.16]]
            params {
                @in connection: Eldbus_Connection*; [[Eldbus connection]]
                @in bus: const(char)*; [[DBus Name or unique-id]]
                @in path: const(char)*; [[DBus path]]
            }
        }
    @property type {
            [[Connection type]]
            values {
                value: int;
            }
        }
    @property address {
            [[Remote address of DBus]]
            values {
                value: const(char)*;
            }
        }
    @property private {
            [[Indicate if the DBus connection is shared or private]]
            values {
                value: bool;
            }
        }
    @property bus {
            [[DBus Name or unique-id]]
            values {
                value: const(char)*;
            }
        }
    @property path {
            [[DBus path]]
            values {
                value: const(char)*;
            }
        }
    }
    implements {
        Eo.Base.constructor;
        Eo.Base.destructor;
        Efl.Model.Base.properties.get;
        Efl.Model.Base.properties_load;
        Efl.Model.Base.property.set;
        Efl.Model.Base.property.get;
        Efl.Model.Base.load;
        Efl.Model.Base.load_status.get;
        Efl.Model.Base.unload;
        Efl.Model.Base.child_add;
        Efl.Model.Base.child_del;
        Efl.Model.Base.children_slice.get;
        Efl.Model.Base.children_count.get;
        Efl.Model.Base.children_load;
    }
    constructors {
        .constructor;
        .connection_constructor;
    }
}