| 
									
										
										
										
											2010-08-08 19:56:47 -03:00
										 |  |  | #ifndef _PERF_UI_PROGRESS_H_
 | 
					
						
							|  |  |  | #define _PERF_UI_PROGRESS_H_ 1
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-10-25 13:29:11 -02:00
										 |  |  | #include <../types.h>
 | 
					
						
							| 
									
										
										
										
											2010-08-08 19:56:47 -03:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2012-11-13 22:30:32 +09:00
										 |  |  | struct ui_progress { | 
					
						
							|  |  |  | 	void (*update)(u64, u64, const char *); | 
					
						
							| 
									
										
										
										
											2012-11-13 22:30:34 +09:00
										 |  |  | 	void (*finish)(void); | 
					
						
							| 
									
										
										
										
											2012-11-13 22:30:32 +09:00
										 |  |  | }; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | extern struct ui_progress *progress_fns; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | void ui_progress__init(void); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-10-25 13:29:11 -02:00
										 |  |  | void ui_progress__update(u64 curr, u64 total, const char *title); | 
					
						
							| 
									
										
										
										
											2012-11-13 22:30:34 +09:00
										 |  |  | void ui_progress__finish(void); | 
					
						
							| 
									
										
										
										
											2010-08-08 19:56:47 -03:00
										 |  |  | 
 | 
					
						
							|  |  |  | #endif
 |