Skip to content

Commit

Permalink
Documented enumerators of two enum classes.
Browse files Browse the repository at this point in the history
This is necessary for Doxygen to show them in the right places.
  • Loading branch information
tov committed Feb 17, 2020
1 parent de61aa8 commit 6c01f6d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
4 changes: 4 additions & 0 deletions include/ge211_error.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -152,9 +152,13 @@ namespace detail {

enum class Log_level
{
/// extra debugging information
debug,
/// helpful information
info,
/// non-fatal but concerning conditions
warn,
/// serious errors
fatal,
};

Expand Down
7 changes: 6 additions & 1 deletion include/ge211_event.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,12 @@ namespace events {
/// which mouse button was depressed or released.
enum class Mouse_button
{
left, middle, right,
/// the primary mouse button
left,
/// the tertiary mouse button
middle,
/// the secondary mouse button
right,
};

/// Prints a #Mouse_button on a std::ostream. This function prints a
Expand Down

0 comments on commit 6c01f6d

Please sign in to comment.