No splashes use this yet.
void (* on_root_mounted) (ply_boot_splash_plugin_t *plugin);
void (* hide_splash_screen) (ply_boot_splash_plugin_t *plugin,
ply_event_loop_t *loop);
- void (* display_normal) (ply_boot_splash_plugin_t *plugin);
void (* display_message) (ply_boot_splash_plugin_t *plugin,
const char *message);
+ void (* hide_message) (ply_boot_splash_plugin_t *plugin,
+ const char *message);
+ void (* display_normal) (ply_boot_splash_plugin_t *plugin);
void (* display_password) (ply_boot_splash_plugin_t *plugin,
const char *prompt,
int bullets);
splash->plugin_interface->display_message (splash->plugin, message);
}
+void ply_boot_splash_hide_message (ply_boot_splash_t *splash,
+ const char *message)
+{
+ assert (splash != NULL);
+ assert (splash->plugin_interface != NULL);
+ assert (splash->plugin != NULL);
+ if (splash->plugin_interface->hide_message != NULL)
+ splash->plugin_interface->hide_message (splash->plugin, message);
+}
+
void ply_boot_splash_display_normal (ply_boot_splash_t *splash)
{
assert (splash != NULL);
void ply_boot_splash_root_mounted (ply_boot_splash_t *splash);
void ply_boot_splash_display_message (ply_boot_splash_t *splash,
const char *message);
+void ply_boot_splash_hide_message (ply_boot_splash_t *splash,
+ const char *message);
void ply_boot_splash_hide (ply_boot_splash_t *splash);
void ply_boot_splash_display_normal (ply_boot_splash_t *splash);
void ply_boot_splash_display_password (ply_boot_splash_t *splash,