Skip to content

Commit

Permalink
Platform: doc++
Browse files Browse the repository at this point in the history
  • Loading branch information
mosra committed Apr 9, 2020
1 parent 492ba41 commit 3de5075
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions src/Magnum/Platform/AbstractXApplication.h
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,8 @@ class AbstractXApplication {
* @brief Execute main loop
* @return Value for returning from @cpp main() @ce
*
* See @ref MAGNUM_GLXAPPLICATION_MAIN() or
* Calls @ref mainLoopIteration() in a loop until @ref exit() is
* called. See @ref MAGNUM_GLXAPPLICATION_MAIN() or
* @ref MAGNUM_XEGLAPPLICATION_MAIN() for usage information.
*/
int exec();
Expand All @@ -124,7 +125,8 @@ class AbstractXApplication {
* Called internally from @ref exec(). If you want to have better
* control over how the main loop behaves, you can call this function
* yourself from your own `main()` function instead of it being called
* automatically from @ref exec().
* automatically from @ref exec() / @ref MAGNUM_GLXAPPLICATION_MAIN()
* / @ref MAGNUM_XEGLAPPLICATION_MAIN().
*/
bool mainLoopIteration();

Expand Down
6 changes: 4 additions & 2 deletions src/Magnum/Platform/GlfwApplication.h
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,9 @@ class GlfwApplication {
* @brief Execute main loop
* @return Value for returning from @cpp main() @ce
*
* See @ref MAGNUM_GLFWAPPLICATION_MAIN() for usage information.
* Calls @ref mainLoopIteration() in a loop until @ref exit() is
* called. See @ref MAGNUM_GLFWAPPLICATION_MAIN() for usage
* information.
*/
int exec();

Expand All @@ -256,7 +258,7 @@ class GlfwApplication {
* Called internally from @ref exec(). If you want to have better
* control over how the main loop behaves, you can call this function
* yourself from your own `main()` function instead of it being called
* automatically from @ref exec().
* automatically from @ref exec() / @ref MAGNUM_GLFWAPPLICATION_MAIN().
*/
bool mainLoopIteration();

Expand Down

0 comments on commit 3de5075

Please sign in to comment.