From 6ca4f0678506276d1ccc508296bf174901126ab2 Mon Sep 17 00:00:00 2001 From: patrick96 Date: Sun, 4 Nov 2018 16:08:54 +0100 Subject: [PATCH] doc: Convert @ to \ doxygen commands Ref #1377 --- include/cairo/context.hpp | 2 +- include/cairo/font.hpp | 6 +++--- include/cairo/surface.hpp | 4 ++-- include/cairo/utils.hpp | 12 ++++++------ include/components/config.hpp | 2 +- include/components/controller.hpp | 26 +++++++++++++------------- include/drawtypes/label.hpp | 2 +- include/events/signal_emitter.hpp | 2 +- include/modules/date.hpp | 2 +- include/modules/i3.hpp | 8 ++++---- include/utils/command.hpp | 12 ++++++------ include/utils/scope.hpp | 4 ++-- include/utils/socket.hpp | 4 ++-- include/utils/throttle.hpp | 4 ++-- include/x11/winspec.hpp | 4 ++-- src/cairo/utils.cpp | 6 +++--- src/components/bar.cpp | 4 ++-- src/components/builder.cpp | 2 +- src/utils/bspwm.cpp | 8 ++++---- src/utils/command.cpp | 2 +- src/utils/inotify.cpp | 2 +- src/utils/process.cpp | 8 ++++---- src/utils/socket.cpp | 2 +- src/x11/tray_manager.cpp | 2 +- 24 files changed, 65 insertions(+), 65 deletions(-) diff --git a/include/cairo/context.hpp b/include/cairo/context.hpp index 624173d6..bd933639 100644 --- a/include/cairo/context.hpp +++ b/include/cairo/context.hpp @@ -20,7 +20,7 @@ POLYBAR_NS namespace cairo { /** - * @brief Cairo context + * \brief Cairo context */ class context { public: diff --git a/include/cairo/font.hpp b/include/cairo/font.hpp index fdefea47..170b9dd8 100644 --- a/include/cairo/font.hpp +++ b/include/cairo/font.hpp @@ -15,12 +15,12 @@ POLYBAR_NS namespace cairo { /** - * @brief Global pointer to the Freetype library handler + * \brief Global pointer to the Freetype library handler */ static FT_Library g_ftlib; /** - * @brief Abstract font face + * \brief Abstract font face */ class font { public: @@ -51,7 +51,7 @@ namespace cairo { }; /** - * @brief Font based on fontconfig/freetype + * \brief Font based on fontconfig/freetype */ class font_fc : public font { public: diff --git a/include/cairo/surface.hpp b/include/cairo/surface.hpp index 0ec7f4ee..0c49bc78 100644 --- a/include/cairo/surface.hpp +++ b/include/cairo/surface.hpp @@ -12,7 +12,7 @@ POLYBAR_NS namespace cairo { /** - * @brief Base surface + * \brief Base surface */ class surface { public: @@ -57,7 +57,7 @@ namespace cairo { }; /** - * @brief Surface for xcb + * \brief Surface for xcb */ class xcb_surface : public surface { public: diff --git a/include/cairo/utils.hpp b/include/cairo/utils.hpp index 5db3a145..5ed62496 100644 --- a/include/cairo/utils.hpp +++ b/include/cairo/utils.hpp @@ -10,7 +10,7 @@ POLYBAR_NS namespace cairo { namespace utils { /** - * @brief RAII wrapper used acquire cairo_device_t + * \brief RAII wrapper used acquire cairo_device_t */ class device_lock { public: @@ -24,7 +24,7 @@ namespace cairo { }; /** - * @brief RAII wrapper used to access the underlying + * \brief RAII wrapper used to access the underlying * FT_Face of a scaled font face */ class ft_face_lock { @@ -39,7 +39,7 @@ namespace cairo { }; /** - * @brief Unicode character containing converted codepoint + * \brief Unicode character containing converted codepoint * and details on where its position in the source string */ struct unicode_character { @@ -51,17 +51,17 @@ namespace cairo { using unicode_charlist = std::list; /** - * @see + * \see */ cairo_operator_t str2operator(const string& mode, cairo_operator_t fallback); /** - * @brief Create a UCS-4 codepoint from a utf-8 encoded string + * \brief Create a UCS-4 codepoint from a utf-8 encoded string */ bool utf8_to_ucs4(const unsigned char* src, unicode_charlist& result_list); /** - * @brief Convert a UCS-4 codepoint to a utf-8 encoded string + * \brief Convert a UCS-4 codepoint to a utf-8 encoded string */ size_t ucs4_to_utf8(char* utf8, unsigned int ucs); } diff --git a/include/components/config.hpp b/include/components/config.hpp index 93e3fa62..bb10d51a 100644 --- a/include/components/config.hpp +++ b/include/components/config.hpp @@ -179,7 +179,7 @@ class config { } /** - * @see deprecated + * \see deprecated */ template T deprecated_list(const string& section, const string& old, const string& newkey, const vector& fallback) const { diff --git a/include/components/controller.hpp b/include/components/controller.hpp index 981f3380..cf7c6682 100644 --- a/include/components/controller.hpp +++ b/include/components/controller.hpp @@ -81,67 +81,67 @@ class controller : public signal_receiver, 2> m_queuefd{}; /** - * @brief State flag + * \brief State flag */ std::atomic m_process_events{false}; /** - * @brief Destination path of generated snapshot + * \brief Destination path of generated snapshot */ string m_snapshot_dst; /** - * @brief Controls weather the output gets printed to stdout + * \brief Controls weather the output gets printed to stdout */ bool m_writeback{false}; /** - * @brief Internal event queue + * \brief Internal event queue */ moodycamel::BlockingConcurrentQueue m_queue; /** - * @brief Loaded modules + * \brief Loaded modules */ modulemap_t m_modules; /** - * @brief Module input handlers + * \brief Module input handlers */ vector m_inputhandlers; /** - * @brief Maximum number of subsequent events to swallow + * \brief Maximum number of subsequent events to swallow */ size_t m_swallow_limit{5U}; /** - * @brief Time to wait for subsequent events + * \brief Time to wait for subsequent events */ std::chrono::milliseconds m_swallow_update{10}; /** - * @brief Time to throttle input events + * \brief Time to throttle input events */ std::chrono::milliseconds m_swallow_input{30}; /** - * @brief Time of last handled input event + * \brief Time of last handled input event */ std::chrono::time_point m_lastinput; /** - * @brief Input data + * \brief Input data */ string m_inputdata; /** - * @brief Thread for the eventqueue loop + * \brief Thread for the eventqueue loop */ std::thread m_event_thread; /** - * @brief Misc threads + * \brief Misc threads */ vector m_threads; }; diff --git a/include/drawtypes/label.hpp b/include/drawtypes/label.hpp index 06f1158d..c24514d8 100644 --- a/include/drawtypes/label.hpp +++ b/include/drawtypes/label.hpp @@ -26,7 +26,7 @@ namespace drawtypes { using label_t = shared_ptr