]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
Add some function declarations to header
authorRay Strode <rstrode@redhat.com>
Thu, 6 Nov 2008 15:47:27 +0000 (10:47 -0500)
committerRay Strode <rstrode@redhat.com>
Thu, 6 Nov 2008 15:47:27 +0000 (10:47 -0500)
Previously they were being used without a prototype,
which was causing a compile warning.

src/libply/ply-progress.h
src/ply-boot-splash.h

index 5e896db151e81337ee5861b6a9ffde55b8a4970a..eace07e45ceeb1180dc405461fe68b44236e5582 100644 (file)
@@ -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: */
index 1d7a2df1b7e410b4a5fda45f1a0b28bfdf4c538d..d55f45f13a3f2a559b57d7e37a2294306ba61eb2 100644 (file)
@@ -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);