mirror of https://github.com/OpenMW/openmw.git
Fix Windows line feeds and chdmod
parent
5825af45c3
commit
450542b4b9
@ -1,2 +1,2 @@
|
|||||||
project(clientconsole)
|
project(clientconsole)
|
||||||
add_executable(clientconsole client.cpp)
|
add_executable(clientconsole client.cpp)
|
||||||
|
@ -1,19 +1,19 @@
|
|||||||
#ifndef COMMANDSERVER_COMMAND_HPP
|
#ifndef COMMANDSERVER_COMMAND_HPP
|
||||||
#define COMMANDSERVER_COMMAND_HPP
|
#define COMMANDSERVER_COMMAND_HPP
|
||||||
|
|
||||||
namespace OMW
|
namespace OMW
|
||||||
{
|
{
|
||||||
///
|
///
|
||||||
/// A Command is currently defined as a string input that, when processed,
|
/// A Command is currently defined as a string input that, when processed,
|
||||||
/// will generate a string output. The string output is passed to the
|
/// will generate a string output. The string output is passed to the
|
||||||
/// mReplyFunction as soon as the command has been processed.
|
/// mReplyFunction as soon as the command has been processed.
|
||||||
///
|
///
|
||||||
class Command
|
class Command
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
std::string mCommand;
|
std::string mCommand;
|
||||||
boost::function1<void, std::string> mReplyFunction;
|
boost::function1<void, std::string> mReplyFunction;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif COMMANDSERVER_COMMAND_HPP
|
#endif COMMANDSERVER_COMMAND_HPP
|
||||||
|
Loading…
Reference in New Issue