summaryrefslogtreecommitdiffstats
path: root/skeletons/eo.erb
blob: 28b66f7a8f453b1211a0181600b6d4ad7cc6ef5e (plain)
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
50
51
classs <%= @class_name %>(Eo_Base)
{
   legacy_prefix: null;
   eo_prefix: <%= @class_name.downcase %>;
   data: <%= @class_name+"_Protected_Data" %>;
   properties {
      attribute
         set {
            /*@
            @brief Blah blah blîh, blah blah . */
         }
         get {
            /*@
            @brief blob.

            Values @c blob.

            Example:
            @dontinclude <%= @class_name.downcase %>-example.c
            @skip <%= @class_name.downcase %>_attribute_set
            @until return

            @see something */
         }
         values {
            Eina_Bool value; /*@ The attribute itself. */
         }
      }
   }
   methods {
      part_table_clear {
         /*@
         @brief Does something.

         @return @c EINA_TRUE on suceess, @c EINA_FALSE on failure

         this realy does something, believe me. */

         return Eina_Bool;
         params {
            @in const char *part; /*@ The part name */
            @in Eina_Bool maybe; /*@ If set, it will maybe do something else */
         }
      }
   }
   implements {
      Eo_Base::constructor;
      Eo_Base::destructor;
      Eo_Base::dbg_info_get;
   }
}