introduction of new output functions to use instead of directly streaming to cout
This commit is contained in:
		
							
								
								
									
										14
									
								
								include/output.hpp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								include/output.hpp
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,14 @@
 | 
			
		||||
#ifndef __OUTPUT_HPP
 | 
			
		||||
#define __OUTPUT_HPP
 | 
			
		||||
 | 
			
		||||
#include <string>
 | 
			
		||||
 | 
			
		||||
namespace cellar {
 | 
			
		||||
    namespace output {
 | 
			
		||||
        extern void statement(std::string parm);
 | 
			
		||||
        extern void warning(std::string parm);
 | 
			
		||||
        extern void error(std::string);
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#endif // __OUTPUT_HPP
 | 
			
		||||
		Reference in New Issue
	
	Block a user