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>
13 lines
439 B
C
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
|