mirror of
https://github.com/polserver/polserver
synced 2026-08-13 08:23:08 -04:00
33 lines
524 B
C++
33 lines
524 B
C++
/** @file
|
|
*
|
|
* @par History
|
|
*/
|
|
|
|
#ifndef __TEXTCMD_H
|
|
#define __TEXTCMD_H
|
|
|
|
#include <cstddef>
|
|
#include <string>
|
|
|
|
#include "../clib/rawtypes.h"
|
|
|
|
namespace Pol
|
|
{
|
|
namespace Network
|
|
{
|
|
class Client;
|
|
}
|
|
|
|
namespace Core
|
|
{
|
|
class wordicmp : public std::less<std::string>
|
|
{
|
|
public:
|
|
bool operator()( const std::string& lhs, const std::string& rhs ) const;
|
|
};
|
|
|
|
bool process_command( Network::Client* client, const std::string& text,
|
|
const std::string& lang = "" );
|
|
} // namespace Core
|
|
} // namespace Pol
|
|
#endif
|