diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2014-04-28 14:33:55 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2014-04-28 14:33:55 +0200 |
commit | bdc430fda2c12bbb1c7882818d2511ee49140f9d (patch) | |
tree | a91b7fac041fde8fa698558ff1047e4cb7affdde /skeletons | |
parent | 6da54c7566c8b4edd3858f63291400d0f4a61134 (diff) | |
download | vim-bdc430fda2c12bbb1c7882818d2511ee49140f9d.zip vim-bdc430fda2c12bbb1c7882818d2511ee49140f9d.tar.gz |
add skeletons/eo.erb
Diffstat (limited to 'skeletons')
-rw-r--r-- | skeletons/eo.erb | 51 |
1 files changed, 51 insertions, 0 deletions
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; + } +} |