14 lines
		
	
	
	
		
			314 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
	
		
			314 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #include <string>
 | |
| #include <mist/json.h>
 | |
| 
 | |
| namespace Controller {
 | |
| 
 | |
|   extern JSON::Value Storage; ///< Global storage of data.
 | |
| 
 | |
|   /// Store and print a log message.
 | |
|   void Log(std::string kind, std::string message);
 | |
| 
 | |
|   /// Write contents to Filename.
 | |
|   bool WriteFile(std::string Filename, std::string contents);
 | |
| 
 | |
| }
 | 
