Fix missing doxygen documentation

This commit is contained in:
Dave Davenport 2017-03-11 13:20:46 +01:00
parent cee753bd3c
commit 652749081a
5 changed files with 13 additions and 1 deletions

View File

@ -2,6 +2,8 @@
#define ROFI_MODE_PRIVATE_H #define ROFI_MODE_PRIVATE_H
#include <gmodule.h> #include <gmodule.h>
/** ABI version to check if loaded plugin is compatible. */
#define ABI_VERSION 0x00000004 #define ABI_VERSION 0x00000004
/** /**

View File

@ -262,6 +262,9 @@ int x11_modifier_active ( unsigned int mask, int key );
*/ */
void x11_disable_decoration ( xcb_window_t window ); void x11_disable_decoration ( xcb_window_t window );
/**
* List of window managers that need different behaviour to functioning.
*/
typedef enum typedef enum
{ {
/** Default EWHM compatible window manager */ /** Default EWHM compatible window manager */

View File

@ -53,6 +53,9 @@
#define LOG_DOMAIN "Helper" #define LOG_DOMAIN "Helper"
/**
* Textual description of positioning rofi.
*/
const char *const monitor_position_entries[] = { const char *const monitor_position_entries[] = {
"on focused monitor", "on focused monitor",
"on focused window", "on focused window",

View File

@ -403,8 +403,9 @@ static void cleanup ()
/** /**
* Collected modi * Collected modi
*/ */
// List of (possibly uninitialized) modi's /** List of (possibly uninitialized) modi's */
Mode ** available_modi = NULL; Mode ** available_modi = NULL;
/** Length of #num_available_modi */
unsigned int num_available_modi = 0; unsigned int num_available_modi = 0;
/** /**

View File

@ -68,6 +68,7 @@ typedef struct TBFontConfig
PangoFontMetrics *metrics; PangoFontMetrics *metrics;
}TBFontConfig; }TBFontConfig;
/** HashMap of previously parsed font descriptions. */
static GHashTable *tbfc_cache = NULL; static GHashTable *tbfc_cache = NULL;
static gboolean textbox_blink ( gpointer data ) static gboolean textbox_blink ( gpointer data )
@ -709,6 +710,8 @@ void textbox_setup ( void )
{ {
tbfc_cache = g_hash_table_new_full ( g_str_hash, g_str_equal, NULL, (GDestroyNotify) tbfc_entry_free ); tbfc_cache = g_hash_table_new_full ( g_str_hash, g_str_equal, NULL, (GDestroyNotify) tbfc_entry_free );
} }
/** Name of the default font (if none is given) */
const char *default_font_name = "default"; const char *default_font_name = "default";
void textbox_set_pango_context ( const char *font, PangoContext *p ) void textbox_set_pango_context ( const char *font, PangoContext *p )
{ {