diff options
author | Juergen Bocklage-Ryannel <juergen.bocklage-ryannel@pelagicore.com> | 2017-04-04 11:05:10 +0200 |
---|---|---|
committer | Juergen Bocklage-Ryannel <juergen.bocklage-ryannel@pelagicore.com> | 2017-04-04 11:05:10 +0200 |
commit | 06d6770ced8c760b567c97a414e2526ccf24e856 (patch) | |
tree | d1ce9d1f48ea43ff64319dcf0488840abea66310 /examples | |
parent | 7fbbbdadb7720675b04595378a167df2d164cd49 (diff) | |
download | qtivi-qface-06d6770ced8c760b567c97a414e2526ccf24e856.tar.gz |
Working on updating the qdoc support for the builtin generator.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/interfaces/echo.qface | 25 |
1 files changed, 22 insertions, 3 deletions
diff --git a/examples/interfaces/echo.qface b/examples/interfaces/echo.qface index ed58685..894b77c 100644 --- a/examples/interfaces/echo.qface +++ b/examples/interfaces/echo.qface @@ -1,19 +1,38 @@ module org.example 1.0; /** - * Provide a simple echo service. + * @brief Provide a simple echo service. */ interface Echo { /** - * The last echo message. + * @brief The last echo message. */ string currentMessage; /** - * Returns the passed in message + * @brief Returns the passed in message */ void echo(Message message); } +/** + * @brief A message structure to send and receive + */ struct Message { + /** + * @brief the text to send + */ string text; } + +/** + * @brief Status + */ +enum Status { + /** + * @brief Nothing loaded yet + */ + Null, + Loading, + Ready, + Error +} |