documentation enhancement

This commit is contained in:
tastytea 2018-04-01 02:20:10 +02:00
parent b436a7abe2
commit 1b7753424b
Signed by: tastytea
GPG Key ID: 59346E0EA35C67E5
3 changed files with 4 additions and 1 deletions

View File

@ -80,6 +80,8 @@ namespace Mastodon
/*! /*!
* @brief Returns the focus point (x, y) * @brief Returns the focus point (x, y)
*
* Values are between -1.0 and 1.0.
*/ */
const std::array<double, 2> focus() const; const std::array<double, 2> focus() const;

View File

@ -104,7 +104,7 @@ public:
explicit Easy(const string &instance, const string &access_token); explicit Easy(const string &instance, const string &access_token);
/*! /*!
* @brief Turns an JSON array into a vector of strings * @brief Turns a JSON array into a vector of strings
* *
* @param json JSON string holding the array * @param json JSON string holding the array
* *

View File

@ -37,6 +37,7 @@
* @example example09_streaming_api.cpp * @example example09_streaming_api.cpp
* @example example10_simplify.cpp * @example example10_simplify.cpp
* @example example11_post_media.cpp * @example example11_post_media.cpp
* @example example12_easy_laststatus.cpp
*/ */
namespace Mastodon namespace Mastodon
{ {