Added status reporting interface to provide a generalized interface for background processes to report their current status; tried to improve documentation of the Progression and RectanglePacker classes
git-svn-id: file:///srv/devel/repo-conversion/nusu@48 d2e56fa2-650e-0410-a79f-9358c0239efd
This commit is contained in:
		
							parent
							
								
									96e546c2f4
								
							
						
					
					
						commit
						e281b5cbb3
					
				
					 5 changed files with 98 additions and 5 deletions
				
			
		
							
								
								
									
										34
									
								
								Source/Tracking/IStatusReporter.cs
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										34
									
								
								Source/Tracking/IStatusReporter.cs
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,34 @@
 | 
			
		|||
#region CPL License
 | 
			
		||||
/*
 | 
			
		||||
Nuclex Framework
 | 
			
		||||
Copyright (C) 2002-2007 Nuclex Development Labs
 | 
			
		||||
 | 
			
		||||
This library is free software; you can redistribute it and/or
 | 
			
		||||
modify it under the terms of the IBM Common Public License as
 | 
			
		||||
published by the IBM Corporation; either version 1.0 of the
 | 
			
		||||
License, or (at your option) any later version.
 | 
			
		||||
 | 
			
		||||
This library is distributed in the hope that it will be useful,
 | 
			
		||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
 | 
			
		||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 | 
			
		||||
IBM Common Public License for more details.
 | 
			
		||||
 | 
			
		||||
You should have received a copy of the IBM Common Public
 | 
			
		||||
License along with this library
 | 
			
		||||
*/
 | 
			
		||||
#endregion
 | 
			
		||||
 | 
			
		||||
using System;
 | 
			
		||||
using System.Collections.Generic;
 | 
			
		||||
 | 
			
		||||
namespace Nuclex.Support.Tracking {
 | 
			
		||||
 | 
			
		||||
  /// <summary>Interface for processes that report their status</summary>
 | 
			
		||||
  interface IStatusReporter {
 | 
			
		||||
 | 
			
		||||
    /// <summary>Triggered when the status of the process changes</summary>
 | 
			
		||||
    event EventHandler<StatusReportEventArgs> StatusChanged;
 | 
			
		||||
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
} // namespace Nuclex.Support.Tracking
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue