From ae310d1380e8da8653bad232867a811d9d110614 Mon Sep 17 00:00:00 2001
From: Přemysl Janouch
Date: Wed, 24 Oct 2018 05:05:26 +0200
Subject: Use Doxygen field comments
---
sdn.cpp | 26 +++++++++++++-------------
1 file changed, 13 insertions(+), 13 deletions(-)
diff --git a/sdn.cpp b/sdn.cpp
index e1063c5..c8dc965 100644
--- a/sdn.cpp
+++ b/sdn.cpp
@@ -297,27 +297,27 @@ static const char *g_ls_colors[] = {LS(XX)};
#undef XX
static struct {
- string cwd; // Current working directory
- vector entries; // Current directory entries
- int offset, cursor; // Scroll offset and cursor position
- bool full_view; // Whether to show extended information
- int max_widths[row::COLUMNS]; // Column widths
+ string cwd; ///< Current working directory
+ vector entries; ///< Current directory entries
+ int offset, cursor; ///< Scroll offset and cursor position
+ bool full_view; ///< Show extended information
+ int max_widths[row::COLUMNS]; ///< Column widths
- string chosen; // Chosen item for the command line
- bool chosen_full; // Use the full path
+ string chosen; ///< Chosen item for the command line
+ bool chosen_full; ///< Use the full path
- int inotify_fd, inotify_wd = -1; // File watch
- bool out_of_date; // Entries may be out of date
+ int inotify_fd, inotify_wd = -1; ///< File watch
+ bool out_of_date; ///< Entries may be out of date
- wchar_t editor; // Prompt character for editing
- wstring editor_line; // Current user input
+ wchar_t editor; ///< Prompt character for editing
+ wstring editor_line; ///< Current user input
enum { AT_CURSOR, AT_BAR, AT_CWD, AT_INPUT, AT_COUNT };
chtype attrs[AT_COUNT] = {A_REVERSE, 0, A_BOLD, 0};
const char *attr_names[AT_COUNT] = {"cursor", "bar", "cwd", "input"};
- map ls_colors; // LS_COLORS decoded
- map ls_exts; // LS_COLORS file extensions
+ map ls_colors; ///< LS_COLORS decoded
+ map ls_exts; ///< LS_COLORS file extensions
} g;
fun ls_format (const string &filename, const struct stat &info) -> chtype {
--
cgit v1.2.3-70-g09d2