From bdc430fda2c12bbb1c7882818d2511ee49140f9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Mon, 28 Apr 2014 14:33:55 +0200 Subject: add skeletons/eo.erb --- skeletons/eo.erb | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 skeletons/eo.erb diff --git a/skeletons/eo.erb b/skeletons/eo.erb new file mode 100644 index 0000000..28b66f7 --- /dev/null +++ b/skeletons/eo.erb @@ -0,0 +1,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; + } +} -- cgit v1.1-2-g2b99