ostinato/server/drone.cpp

24 lines
404 B
C++
Raw Normal View History

2008-05-03 09:37:10 -05:00
#include "drone.h"
extern int myport;
2008-05-03 09:37:10 -05:00
Drone::Drone(QDialog *parent)
: QDialog(parent)
{
ui.setupUi(this);
rpcServer = new RpcServer();
service = new MyService(this);
rpcServer->registerService(service, myport ? myport : 7878);
2008-05-03 09:37:10 -05:00
}
void Drone::Log(const char* str)
{
ui.teLog->append(QString(str));
}
void Drone::LogInt(const QString &str)
{
ui.teLog->append(str);
}