mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-11-04 15:26:57 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			21 lines
		
	
	
	
		
			547 B
		
	
	
	
		
			C++
		
	
	
		
			Executable file
		
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
	
		
			547 B
		
	
	
	
		
			C++
		
	
	
		
			Executable file
		
	
	
	
	
#ifndef COMMANDSERVER_COMMAND_HPP
 | 
						|
#define COMMANDSERVER_COMMAND_HPP
 | 
						|
 | 
						|
#include <boost/function.hpp>
 | 
						|
 | 
						|
namespace OMW
 | 
						|
{
 | 
						|
    ///
 | 
						|
    /// A Command is currently defined as a string input that, when processed,
 | 
						|
    /// will generate a string output.  The string output is passed to the
 | 
						|
    /// mReplyFunction as soon as the command has been processed.
 | 
						|
    ///
 | 
						|
    class Command
 | 
						|
    {
 | 
						|
    public:
 | 
						|
        std::string                         mCommand;
 | 
						|
        boost::function1<void, std::string> mReplyFunction;
 | 
						|
    };
 | 
						|
}
 | 
						|
 | 
						|
#endif //COMMANDSERVER_COMMAND_HPP
 |