From: Ray Strode Date: Thu, 6 Nov 2008 15:47:27 +0000 (-0500) Subject: Add some function declarations to header X-Git-Tag: 0.6.0~41^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e47e4c6a8fec3ad3b31687f3a00e5edcfe9dccc;p=thirdparty%2Fplymouth.git Add some function declarations to header Previously they were being used without a prototype, which was causing a compile warning. --- diff --git a/src/libply/ply-progress.h b/src/libply/ply-progress.h index 5e896db1..eace07e4 100644 --- a/src/libply/ply-progress.h +++ b/src/libply/ply-progress.h @@ -35,6 +35,8 @@ double ply_progress_get_percentage (ply_progress_t* progress); double ply_progress_get_time (ply_progress_t* progress); void ply_progress_save_cache (ply_progress_t* progress); void ply_progress_status_update (ply_progress_t* progress, const char *status); +void ply_progress_pause (ply_progress_t *progress); +void ply_progress_unpause (ply_progress_t *progress); #endif /* PLY_PROGRESS_H */ /* vim: set ts=4 sw=4 expandtab autoindent cindent cino={.5s,(0: */ diff --git a/src/ply-boot-splash.h b/src/ply-boot-splash.h index 1d7a2df1..d55f45f1 100644 --- a/src/ply-boot-splash.h +++ b/src/ply-boot-splash.h @@ -29,6 +29,7 @@ #include "ply-event-loop.h" #include "ply-window.h" #include "ply-buffer.h" +#include "ply-progress.h" #include "ply-boot-splash-plugin.h" typedef struct _ply_boot_splash ply_boot_splash_t; @@ -59,6 +60,8 @@ void ply_boot_splash_ask_for_password (ply_boot_splash_t *splash, void ply_boot_splash_hide (ply_boot_splash_t *splash); void ply_boot_splash_attach_to_event_loop (ply_boot_splash_t *splash, ply_event_loop_t *loop); +void ply_boot_splash_attach_progress (ply_boot_splash_t *splash, + ply_progress_t *progress); void ply_boot_splash_become_idle (ply_boot_splash_t *splash, ply_boot_splash_on_idle_handler_t idle_handler, void *user_data);