mirror of
https://github.com/worldforge/cyphesis
synced 2026-08-13 12:26:04 -04:00
* Changed typedef names to ones which make more sense, and are clearer. There is no change in functionality in this commit.
18 lines
527 B
C++
18 lines
527 B
C++
// This file may be redistributed and modified only under the terms of
|
|
// the GNU General Public License (See COPYING for details).
|
|
// Copyright (C) 2000,2001 Alistair Riddoch
|
|
|
|
#include "ExternalMind.h"
|
|
#include "Connection_methods.h"
|
|
|
|
ExternalMind::ExternalMind(Connection & connection, const std::string & id,
|
|
const std::string & name) :
|
|
BaseMind(id, name), connection(connection)
|
|
{
|
|
}
|
|
|
|
OpVector ExternalMind::message(const RootOperation & op)
|
|
{
|
|
connection.send(&op);
|
|
return OpVector();
|
|
}
|