Fix doxygen generation warnings.

Signed-off-by: Brian Gianforcaro <b.gianfo@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Brian Gianforcaro 2009-07-27 00:20:00 -04:00 committed by Julien Danjou
parent 0d39054217
commit 404ec8eb24
20 changed files with 47 additions and 25 deletions

View File

@ -254,7 +254,8 @@ signal_fatal(int signum)
} }
/** Function to exit on some signals. /** Function to exit on some signals.
* \param sig the signal received, unused * \param w the signal received, unused
* \param revents currently unused
*/ */
static void static void
exit_on_signal(EV_P_ ev_signal *w, int revents) exit_on_signal(EV_P_ ev_signal *w, int revents)
@ -270,7 +271,8 @@ awesome_restart(void)
} }
/** Function to restart aweome on some signals. /** Function to restart aweome on some signals.
* \param sig the signam received, unused * \param w the signam received, unused
* \param revents Currently unused
*/ */
static void static void
restart_on_signal(EV_P_ ev_signal *w, int revents) restart_on_signal(EV_P_ ev_signal *w, int revents)

View File

@ -26,7 +26,6 @@ SHORT_NAMES = NO
JAVADOC_AUTOBRIEF = NO JAVADOC_AUTOBRIEF = NO
QT_AUTOBRIEF = NO QT_AUTOBRIEF = NO
MULTILINE_CPP_IS_BRIEF = NO MULTILINE_CPP_IS_BRIEF = NO
DETAILS_AT_TOP = NO
INHERIT_DOCS = YES INHERIT_DOCS = YES
SEPARATE_MEMBER_PAGES = NO SEPARATE_MEMBER_PAGES = NO
TAB_SIZE = 4 TAB_SIZE = 4

View File

@ -203,6 +203,7 @@ client_unfocus(client_t *c)
/** Check if client supports protocol a protocole in WM_PROTOCOL. /** Check if client supports protocol a protocole in WM_PROTOCOL.
* \param c The client. * \param c The client.
* \param atom The protocol atom to check for.
* \return True if client has the atom in protocol, false otherwise. * \return True if client has the atom in protocol, false otherwise.
*/ */
bool bool
@ -321,7 +322,7 @@ client_focus(client_t *c)
/** Stack a window below. /** Stack a window below.
* \param c The client. * \param c The client.
* \param previous The previous window on the stack. * \param previous The previous window on the stack.
* \param return The next-previous! * \return The next-previous!
*/ */
static xcb_window_t static xcb_window_t
client_stack_above(client_t *c, xcb_window_t previous) client_stack_above(client_t *c, xcb_window_t previous)

2
draw.c
View File

@ -197,7 +197,7 @@ draw_context_init(draw_context_t *d, int phys_screen,
/** Draw text into a draw context. /** Draw text into a draw context.
* \param ctx Draw context to draw to. * \param ctx Draw context to draw to.
* \param data Draw text context data. * \param data Draw text context data.
* \param elip Ellipsize mode. * \param ellip Ellipsize mode.
* \param wrap Wrap mode. * \param wrap Wrap mode.
* \param align Text alignment. * \param align Text alignment.
* \param margin Margin to respect when drawing text. * \param margin Margin to respect when drawing text.

1
ewmh.c
View File

@ -577,6 +577,7 @@ ewmh_client_check_hints(client_t *c)
/** Process the WM strut of a client. /** Process the WM strut of a client.
* \param c The client. * \param c The client.
* \param strut_r (Optional) An existing reply.
*/ */
void void
ewmh_process_client_strut(client_t *c, xcb_get_property_reply_t *strut_r) ewmh_process_client_strut(client_t *c, xcb_get_property_reply_t *strut_r)

10
image.c
View File

@ -347,7 +347,7 @@ luaA_image_crop_and_scale(lua_State *L)
/** Draw a pixel in an image /** Draw a pixel in an image
* \param L The Lua VM state * \param L The Lua VM state
* \luastack * \luastack
* \lvalua An image. * \lvalue An image.
* \lparam The x coordinate of the pixel to draw * \lparam The x coordinate of the pixel to draw
* \lparam The y coordinate of the pixel to draw * \lparam The y coordinate of the pixel to draw
* \lparam The color to draw the pixel in * \lparam The color to draw the pixel in
@ -379,7 +379,7 @@ luaA_image_draw_pixel(lua_State *L)
/** Draw a line in an image /** Draw a line in an image
* \param L The Lua VM state * \param L The Lua VM state
* \luastack * \luastack
* \lvalua An image. * \lvalue An image.
* \lparam The x1 coordinate of the line to draw * \lparam The x1 coordinate of the line to draw
* \lparam The y1 coordinate of the line to draw * \lparam The y1 coordinate of the line to draw
* \lparam The x2 coordinate of the line to draw * \lparam The x2 coordinate of the line to draw
@ -415,7 +415,7 @@ luaA_image_draw_line(lua_State *L)
/** Draw a rectangle in an image /** Draw a rectangle in an image
* \param L The Lua VM state * \param L The Lua VM state
* \luastack * \luastack
* \lvalua An image. * \lvalue An image.
* \lparam The x coordinate of the rectangles top left corner * \lparam The x coordinate of the rectangles top left corner
* \lparam The y coordinate of the rectangles top left corner * \lparam The y coordinate of the rectangles top left corner
* \lparam The width of the rectangle * \lparam The width of the rectangle
@ -509,7 +509,7 @@ luaA_table_to_color_range(lua_State *L, int ud)
* \param L The Lua VM state. * \param L The Lua VM state.
* \return The number of elements pushed on stack. * \return The number of elements pushed on stack.
* \luastack * \luastack
* \lvalua An image. * \lvalue An image.
* \lparam The x coordinate of the rectangles top left corner. * \lparam The x coordinate of the rectangles top left corner.
* \lparam The y coordinate of the rectangles top left corner. * \lparam The y coordinate of the rectangles top left corner.
* \lparam The width of the rectangle. * \lparam The width of the rectangle.
@ -550,7 +550,7 @@ luaA_image_draw_rectangle_gradient(lua_State *L)
/** Draw a circle in an image /** Draw a circle in an image
* \param L The Lua VM state * \param L The Lua VM state
* \luastack * \luastack
* \lvalua An image. * \lvalue An image.
* \lparam The x coordinate of the center of the circle * \lparam The x coordinate of the center of the circle
* \lparam The y coordinate of the center of the circle * \lparam The y coordinate of the center of the circle
* \lparam The horizontal amplitude (width) * \lparam The horizontal amplitude (width)

2
key.c
View File

@ -1087,7 +1087,7 @@ luaA_key_array_get(lua_State *L, key_array_t *keys)
/** Push a modifier set to a Lua table. /** Push a modifier set to a Lua table.
* \param L The Lua VM state. * \param L The Lua VM state.
* \param mod The modifier. * \param modifiers The modifier.
* \return The number of elements pushed on stack. * \return The number of elements pushed on stack.
*/ */
int int

2
luaa.c
View File

@ -139,7 +139,7 @@ luaA_mbstrlen(lua_State *L)
/** Overload standard Lua next function to use __next key on metatable. /** Overload standard Lua next function to use __next key on metatable.
* \param L The Lua VM state. * \param L The Lua VM state.
* \param The number of elements pushed on stack. * \return The number of elements pushed on stack.
*/ */
static int static int
luaAe_next(lua_State *L) luaAe_next(lua_State *L)

View File

@ -60,7 +60,7 @@ mouse_query_pointer(xcb_window_t window, int16_t *x, int16_t *y, xcb_window_t *c
} }
/** Get the pointer position on the screen. /** Get the pointer position on the screen.
* \param screen This will be set to the screen the mouse is on. * \param s This will be set to the screen the mouse is on.
* \param x This will be set to the Pointer-x-coordinate relative to window. * \param x This will be set to the Pointer-x-coordinate relative to window.
* \param y This will be set to the Pointer-y-coordinate relative to window. * \param y This will be set to the Pointer-y-coordinate relative to window.
* \param child This will be set to the window under the pointer. * \param child This will be set to the window under the pointer.

View File

@ -72,7 +72,9 @@ mousegrabber_grab(xcb_cursor_t cursor)
/** Handle mouse motion events. /** Handle mouse motion events.
* \param L Lua stack to push the pointer motion. * \param L Lua stack to push the pointer motion.
* \param ev Received mouse motion event. * \param x The received mouse event x component.
* \param y The received mouse event y component.
* \param mask The received mouse event bit mask.
*/ */
void void
mousegrabber_handleevent(lua_State *L, int x, int y, uint16_t mask) mousegrabber_handleevent(lua_State *L, int x, int y, uint16_t mask)

View File

@ -116,6 +116,7 @@ property_handle_wm_client_leader(void *data,
/** Update the size hints of a client. /** Update the size hints of a client.
* \param c The client. * \param c The client.
* \param reply (Optional) An existing reply.
*/ */
void void
property_update_wm_normal_hints(client_t *c, xcb_get_property_reply_t *reply) property_update_wm_normal_hints(client_t *c, xcb_get_property_reply_t *reply)
@ -153,6 +154,7 @@ property_handle_wm_normal_hints(void *data,
/** Update the WM hints of a client. /** Update the WM hints of a client.
* \param c The client. * \param c The client.
* \param reply (Optional) An existing reply.
*/ */
void void
property_update_wm_hints(client_t *c, xcb_get_property_reply_t *reply) property_update_wm_hints(client_t *c, xcb_get_property_reply_t *reply)
@ -203,7 +205,6 @@ property_handle_wm_hints(void *data,
/** Update client name attribute with its new title. /** Update client name attribute with its new title.
* \param c The client. * \param c The client.
* \param Return true if it has been updated.
*/ */
void void
property_update_wm_name(client_t *c) property_update_wm_name(client_t *c)
@ -257,7 +258,6 @@ property_update_wm_class(client_t *c, xcb_get_property_reply_t *reply)
/** Update client icon name attribute with its new title. /** Update client icon name attribute with its new title.
* \param c The client. * \param c The client.
* \param Return true if it has been updated.
*/ */
void void
property_update_wm_icon_name(client_t *c) property_update_wm_icon_name(client_t *c)
@ -384,6 +384,14 @@ property_update_wm_protocols(client_t *c)
} }
} }
/** The property notify event handler.
* \param data currently unused.
* \param connection currently unusued.
* \param state currently unused.
* \param window The window to obtain update protocols from.
* \param name currently unused.
* \param reply currently unused.
*/
static int static int
property_handle_wm_protocols(void *data, property_handle_wm_protocols(void *data,
xcb_connection_t *connection, xcb_connection_t *connection,
@ -403,7 +411,10 @@ property_handle_wm_protocols(void *data,
/** The property notify event handler. /** The property notify event handler.
* \param data currently unused. * \param data currently unused.
* \param connection The connection to the X server. * \param connection The connection to the X server.
* \param ev The event. * \param state currently unused
* \param window The window to obtain update the property with.
* \param name The protocol atom, currently unused.
* \param reply (Optional) An existing reply.
*/ */
static int static int
property_handle_xembed_info(void *data __attribute__ ((unused)), property_handle_xembed_info(void *data __attribute__ ((unused)),

View File

@ -161,7 +161,6 @@ screen_getbycoord(screen_t *screen, int x, int y)
/** Get screens info. /** Get screens info.
* \param screen Screen. * \param screen Screen.
* \param wiboxes Wiboxes list to remove.
* \param strut Honor windows strut. * \param strut Honor windows strut.
* \return The screen area. * \return The screen area.
*/ */

View File

@ -48,7 +48,6 @@ DO_ARRAY(SnStartupSequence *, SnStartupSequence, a_sn_startup_sequence_unref)
SnStartupSequence_array_t sn_waits; SnStartupSequence_array_t sn_waits;
/** Remove a SnStartupSequence pointer from an array and forget about it. /** Remove a SnStartupSequence pointer from an array and forget about it.
* \param array The startup sequence array.
* \param s The startup sequence to found, remove and unref. * \param s The startup sequence to found, remove and unref.
* \return True if found and removed. * \return True if found and removed.
*/ */

View File

@ -64,8 +64,9 @@ simplewindow_draw_context_update(simple_window_t *sw, xcb_screen_t *s)
* \param phys_screen Physical screen number. * \param phys_screen Physical screen number.
* \param geometry Window geometry. * \param geometry Window geometry.
* \param border_width Window border width. * \param border_width Window border width.
* \param border_color Window border color.
* \param orientation The rendering orientation. * \param orientation The rendering orientation.
* \param bg Default foreground color. * \param fg Default foreground color.
* \param bg Default background color. * \param bg Default background color.
*/ */
void void
@ -257,6 +258,10 @@ simplewindow_moveresize(simple_window_t *sw, area_t geom)
/** Refresh the window content by copying its pixmap data to its window. /** Refresh the window content by copying its pixmap data to its window.
* \param sw The simple window to refresh. * \param sw The simple window to refresh.
* \param x The copy starting point x component.
* \param y The copy starting point y component.
* \param w The copy width from the x component.
* \param h The copy height from the y component.
*/ */
void void
simplewindow_refresh_pixmap_partial(simple_window_t *sw, simplewindow_refresh_pixmap_partial(simple_window_t *sw,

View File

@ -82,6 +82,7 @@ simplewindow_refresh_pixmap(simple_window_t *sw)
} }
/** Set a simplewindow's opacity. /** Set a simplewindow's opacity.
* \param sw The window the adjust the opacity of.
* \param opacity A value between 0 and 1 which describes the opacity. * \param opacity A value between 0 and 1 which describes the opacity.
*/ */
static inline void static inline void

View File

@ -126,6 +126,9 @@ systray_cleanup(int phys_screen)
/** Handle a systray request. /** Handle a systray request.
* \param embed_win The window to embed. * \param embed_win The window to embed.
* \param phys_screen The physical monitor to display on.
* \param info The embeding info
* \return 0 on no error.
*/ */
int int
systray_request_handle(xcb_window_t embed_win, int phys_screen, xembed_info_t *info) systray_request_handle(xcb_window_t embed_win, int phys_screen, xembed_info_t *info)

2
tag.c
View File

@ -75,7 +75,7 @@ tag_view(tag_t *tag, bool view)
} }
/** Append a tag which on top of the stack to a screen. /** Append a tag which on top of the stack to a screen.
* \param screen the screen id * \param s screen the screen id
*/ */
void void
tag_append_to_screen(screen_t *s) tag_append_to_screen(screen_t *s)

View File

@ -217,7 +217,6 @@ titlebar_client_detach(client_t *c)
/** Attach a wibox to a client as its titlebar. /** Attach a wibox to a client as its titlebar.
* \param c The client. * \param c The client.
* \param ud The index of the wibox on the stack.
*/ */
void void
titlebar_client_attach(client_t *c) titlebar_client_attach(client_t *c)

View File

@ -283,7 +283,7 @@ wibox_systray_refresh(wibox_t *wibox)
} }
/** Get a wibox by its window. /** Get a wibox by its window.
* \param w The window id. * \param win The window id.
* \return A wibox if found, NULL otherwise. * \return A wibox if found, NULL otherwise.
*/ */
wibox_t * wibox_t *

View File

@ -110,7 +110,7 @@ window_buttons_grab(xcb_window_t win, button_array_t *buttons)
} }
/** Get the opacity of a window. /** Get the opacity of a window.
* \param The window. * \param win The window.
* \return The opacity, between 0 and 1 or -1 or no opacity set. * \return The opacity, between 0 and 1 or -1 or no opacity set.
*/ */
double double
@ -131,7 +131,7 @@ window_opacity_get(xcb_window_t win)
} }
/** Get the opacity of a window. /** Get the opacity of a window.
* \param A reply to a get property request for _NET_WM_WINDOW_OPACITY. * \param prop_r A reply to a get property request for _NET_WM_WINDOW_OPACITY.
* \return The opacity, between 0 and 1. * \return The opacity, between 0 and 1.
*/ */
double window_opacity_get_from_reply(xcb_get_property_reply_t *prop_r) double window_opacity_get_from_reply(xcb_get_property_reply_t *prop_r)