mirror of
https://github.com/davatorium/rofi.git
synced 2024-11-18 13:54:36 -05:00
[DmenuScript] Add missing header file.
This commit is contained in:
parent
011d92075c
commit
29c83b3623
1 changed files with 21 additions and 0 deletions
21
include/dialogs/dmenuscriptshared.h
Normal file
21
include/dialogs/dmenuscriptshared.h
Normal file
|
@ -0,0 +1,21 @@
|
|||
#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;
|
||||
} 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
|
Loading…
Reference in a new issue