mirror of
https://github.com/davatorium/rofi.git
synced 2024-11-11 13:50:48 -05:00
7dcc3f450c
Fixes: #1024
26 lines
775 B
C
26 lines
775 B
C
#ifndef ROFI_DIALOGS_DMENU_SCRIPT_SHARED_H
|
|
#define ROFI_DIALOGS_DMENU_SCRIPT_SHARED_H
|
|
|
|
typedef struct
|
|
{
|
|
/** Entry content. (visible part) */
|
|
char *entry;
|
|
/** Icon name to display. */
|
|
char *icon_name;
|
|
/** Async icon fetch handler. */
|
|
uint32_t icon_fetch_uid;
|
|
/** Hidden meta keywords. */
|
|
char *meta;
|
|
/** non-selectable */
|
|
gboolean nonselectable;
|
|
} DmenuScriptEntry;
|
|
/**
|
|
* @param sw Unused
|
|
* @param entry The entry to update.
|
|
* @param buffer The buffer to parse.
|
|
* @param length The buffer length.
|
|
*
|
|
* Updates entry with the parsed values from buffer.
|
|
*/
|
|
void dmenuscript_parse_entry_extras ( G_GNUC_UNUSED Mode *sw, DmenuScriptEntry *entry, char *buffer, size_t length );
|
|
#endif // ROFI_DIALOGS_DMENU_SCRIPT_SHARED_H
|