Class ProgressBar
	
	
Seperate class used for interaction with CocoaDialog's progress bar.
Client inintialization is built by:
$client = new ProgressBar('path to CocoaDialog.app or exec', [associative array
of dialog arguements], $dialog=bool)
NOTE: Currently broken due to CocoaDialog's exception thrown when opening
process with stdin. Possibly fixable.
	 
	
	
	Methods summary
	
		
			 public 
			
			
			
		 | 
		
		#
		__construct( string $cocoa, array $_passed )
		
			
Progress class constructor. 
		 
		
			
Progress class constructor. 
				Parameters
				
					- $cocoa
 
					string $cocoa Path to CocoaDialog.app or exec 
					- $_passed
 
					array $_passed Progress dialog arguemnts (associative array) 
				  
		 
		  | 
	
	
		
			 public 
			integer
			
			
		 | 
		
		#
		update( integer $percent = NULL, string $text = NULL  )
		
			
Update the current progress bar's state. 
		 
		
			
Update the current progress bar's state. 
				Parameters
				
					- $percent
 
					integer $percent Percentage filled of progress bar dialog 
					- $text
 
					string $text Test of progress bar dialog 
				  
				Returns
				
					integer 1 if running 0 if stopped 
				 
		 
		  | 
	
	
		
			 public 
			integer
			
			
		 | 
		
		#
		finish( )
		
			
Kill the progress bar dialog. 
		 
		
			
Kill the progress bar dialog. 
				Returns
				
					integer 0 when killed 
				 
		 
		  |