diff options
| author | Ray Strode <rstrode@redhat.com> | 2008-05-18 23:34:25 -0400 |
|---|---|---|
| committer | Ray Strode <rstrode@redhat.com> | 2008-05-19 00:05:46 -0400 |
| commit | fa8d0c2adb324081e9b8696d7833f04c32c575df (patch) | |
| tree | dcd855fb2f27cea9ca1afd11174824544ea59add /src/ply-boot-splash.h | |
| parent | ea56f6e68cfc42ca165d1964e4410739b519879b (diff) | |
| download | plymouth-fa8d0c2adb324081e9b8696d7833f04c32c575df.tar.gz plymouth-fa8d0c2adb324081e9b8696d7833f04c32c575df.tar.xz plymouth-fa8d0c2adb324081e9b8696d7833f04c32c575df.zip | |
Intercept escape key before passing keyboard input to splash plugin
We want to pass escape to the layer that created the boot splash, so
that it can tear down the curren splash plugin and put up the
details view
Diffstat (limited to 'src/ply-boot-splash.h')
| -rw-r--r-- | src/ply-boot-splash.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/ply-boot-splash.h b/src/ply-boot-splash.h index 79b09b0..c89636d 100644 --- a/src/ply-boot-splash.h +++ b/src/ply-boot-splash.h @@ -30,8 +30,13 @@ typedef struct _ply_boot_splash ply_boot_splash_t; +typedef void (* ply_boot_splash_escape_handler_t) (void *user_data); + + #ifndef PLY_HIDE_FUNCTION_DECLARATIONS -ply_boot_splash_t *ply_boot_splash_new (const char *module_name); +ply_boot_splash_t *ply_boot_splash_new (const char *module_name, + ply_boot_splash_escape_handler_t escape_handler, + void *user_data); void ply_boot_splash_free (ply_boot_splash_t *splash); bool ply_boot_splash_show (ply_boot_splash_t *splash); void ply_boot_splash_update_status (ply_boot_splash_t *splash, |
