summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2019-04-03 12:18:50 +0200
committerDave Davenport <qball@gmpclient.org>2019-04-03 12:18:50 +0200
commit29c83b362304a1165ee31733026a44f40f6b19c5 (patch)
tree23c6e63529b69c2e849ad9a239e99aa6f03929f4
parent011d92075cb3a569c99ce88217006ba3beee5a8f (diff)
[DmenuScript] Add missing header file.
-rw-r--r--include/dialogs/dmenuscriptshared.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/include/dialogs/dmenuscriptshared.h b/include/dialogs/dmenuscriptshared.h
new file mode 100644
index 00000000..16400e0a
--- /dev/null
+++ b/include/dialogs/dmenuscriptshared.h
@@ -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