eiwd/src/ui/wifi_auth.h
Pierre-Olivier Mercier dcf0fd00a0 ui: add wifi_hidden_prompt dialog
Modal SSID + optional passphrase prompt with the same callback shape as
wifi_auth_prompt. Used by the upcoming popup "Hidden..." button.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-09 12:45:54 +07:00

13 lines
439 B
C

#ifndef WIFI_AUTH_H
#define WIFI_AUTH_H
#include <Elementary.h>
typedef void (*Wifi_Auth_Cb)(void *data, const char *passphrase, Eina_Bool ok);
/* Show a modal passphrase dialog. cb is called exactly once with ok=EINA_TRUE
* + passphrase, or ok=EINA_FALSE on cancel. The dialog destroys itself. */
Evas_Object *wifi_auth_prompt(Evas_Object *parent, const char *ssid,
Wifi_Auth_Cb cb, void *data);
#endif