summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorQball Cow <qball@gmpclient.org>2014-01-30 00:47:23 +0100
committerQball Cow <qball@gmpclient.org>2014-01-30 00:47:23 +0100
commitbbe4a3d33023e4557320a478bf1e800730e900f3 (patch)
treea66151ec6c82e7ef57a545ecf5ba9f40f9bced0f /include
parent78845b52f48e73260cce0a2b550317ed199e5456 (diff)
Add dmenu option
Diffstat (limited to 'include')
-rw-r--r--include/dmenu-dialog.h7
-rw-r--r--include/simpleswitcher.h1
2 files changed, 8 insertions, 0 deletions
diff --git a/include/dmenu-dialog.h b/include/dmenu-dialog.h
new file mode 100644
index 00000000..ff04a66a
--- /dev/null
+++ b/include/dmenu-dialog.h
@@ -0,0 +1,7 @@
+#ifndef __DMENU_DIALOG_H__
+#define __DMENU_DIALOG_H__
+
+extern char *dmenu_prompt;
+SwitcherMode dmenu_switcher_dialog ( char **input );
+
+#endif
diff --git a/include/simpleswitcher.h b/include/simpleswitcher.h
index 7d79e989..7775ec0e 100644
--- a/include/simpleswitcher.h
+++ b/include/simpleswitcher.h
@@ -26,6 +26,7 @@ typedef enum {
#endif
NUM_DIALOGS,
JSON_DIALOG,
+ DMENU_DIALOG,
MODE_EXIT,
NEXT_DIALOG
} SwitcherMode;