summaryrefslogtreecommitdiff
path: root/src/lib/eio/eio_model.eo
blob: a32c48a350f8a7e7da09726e43466e53b7415788 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
class Eio.Model (Eo.Base, Efl.Model.Base)
{
    legacy_prefix: null;
    methods {
       children_filter_set {
            /*@ Set children filter callback.
              This function sets, along with user's private data userdata,
              the Eio's Eio_Filter_Direct_Cb which is a mid-step
              before receiving the real data. Once in filter
              callback we can decide, by returning either EINA_FALSE, to abort
              the notification or EINA_TRUE to keep it.
              @see Eio.h
              @see emodel_children_slice_fetch
              @def emodel_children_filter_set
              @since 1.11
              @in filter_cb
              @in userdata */
             params {
                 filter_cb: Eio_Filter_Direct_Cb; /*@  Filter callback */
                 userdata: void *; /*@  User's private data */
             }
       }
       path_set {
          /*@ Custom Eio_Model constructor.
            @def eio_model_constructor
            @since 1.11
            @in path */
          params {
             @in path: const(char)*; /*@ Root path provided by caller */
          }
       }
    }
    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;
    }
}