summaryrefslogtreecommitdiff
path: root/src/lib/eio/eio_model.eo
blob: b8ac23672c772aef5df09898c1f72009c5c61c45 (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, Emodel)
{
    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 {
                 Eio_Filter_Direct_Cb filter_cb; /*@  Filter callback */
                 void *userdata; /*@  User's private data */
             }
       }
       path_set {
          /*@ Custom Eio_Model constructor.
            @def eio_model_constructor
            @since 1.11
            @in path */
          params {
             @in const(char)* path; /*@ Root path provided by caller */
          }
       }
    }
    implements {
      Eo.Base.constructor;
      Eo.Base.destructor;
      Emodel.properties_list.get;
      Emodel.properties_load;
      Emodel.property.set;
      Emodel.property.get;
      Emodel.load;
      Emodel.load_status.get;
      Emodel.unload;
      Emodel.child_add;
      Emodel.child_del;
      Emodel.children_slice.get;
      Emodel.children_count.get;
      Emodel.children_load;
    }
}