Allow people to use their own emitters held in a shared library. Put a trivial emitter in contrib/ as an example.
		
			
				
	
	
		
			15 lines
		
	
	
		
			406 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			406 B
		
	
	
	
		
			C++
		
	
	
	
	
	
#ifndef THIN_PROVISIONING_SHARED_LIBRARY_EMITTER_H
 | 
						|
#define THIN_PROVISIONING_SHARED_LIBRARY_EMITTER_H
 | 
						|
 | 
						|
#include "thin-provisioning/emitter.h"
 | 
						|
 | 
						|
//----------------------------------------------------------------
 | 
						|
 | 
						|
namespace thin_provisioning {
 | 
						|
	emitter::ptr create_custom_emitter(std::string const &shared_lib, std::ostream &out);
 | 
						|
}
 | 
						|
 | 
						|
//----------------------------------------------------------------
 | 
						|
 | 
						|
#endif
 |