diff options
author | jryannel <juergen@ryannel.org> | 2017-04-06 20:52:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-06 20:52:15 +0200 |
commit | eb4c99c7a60e9aac3d0df04ac0e7c4618a5b1155 (patch) | |
tree | 35bb9b334c1e2d60b65235cba060cf237caa87d4 /examples | |
parent | 0c87c1cfa6ad7f1049f8dc8203f702e755d4525e (diff) |
feature constant properties (#38)
* A first version of supporting constant properties. The grammar god a little bit more complicated and might be cleaned up at some point. Also the cpp property generation is more coplicated and should also be simplified again. Maybe by providing some JINJA macros or C++ helpers.
* Updated cont property feature. The keyword used now is ‘const’. Also updated the grammar in this respect.
* removed the is_ prefix from the bool variables for properties (is_readonly => readonly, is_const=>const)
Diffstat (limited to 'examples')
-rw-r--r-- | examples/interfaces/echo.qface | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/interfaces/echo.qface b/examples/interfaces/echo.qface index 894b77c..95ed42f 100644 --- a/examples/interfaces/echo.qface +++ b/examples/interfaces/echo.qface @@ -7,7 +7,7 @@ interface Echo { /** * @brief The last echo message. */ - string currentMessage; + readonly string currentMessage; /** * @brief Returns the passed in message */ |