TelescopeClientDirectNexStar.cpp   TelescopeClientDirectNexStar.cpp 
skipping to change at line 41 skipping to change at line 41
#include "LogFile.hpp" #include "LogFile.hpp"
#include "StelCore.hpp" #include "StelCore.hpp"
#include <QRegExp> #include <QRegExp>
#include <QStringList> #include <QStringList>
TelescopeClientDirectNexStar::TelescopeClientDirectNexStar(const QString &n ame, const QString &parameters, Equinox eq) TelescopeClientDirectNexStar::TelescopeClientDirectNexStar(const QString &n ame, const QString &parameters, Equinox eq)
: TelescopeClient(name) : TelescopeClient(name)
, time_delay(0) , time_delay(0)
, equinox(eq) , equinox(eq)
, nexstar(NULL) , nexstar(Q_NULLPTR)
, last_ra(0) , last_ra(0)
, queue_get_position(true) , queue_get_position(true)
, next_pos_time(0) , next_pos_time(0)
{ {
interpolatedPosition.reset(); interpolatedPosition.reset();
//Extract parameters //Extract parameters
//Format: "serial_port_name:time_delay" //Format: "serial_port_name:time_delay"
QRegExp paramRx("^([^:]*):(\\d+)$"); QRegExp paramRx("^([^:]*):(\\d+)$");
QString serialDeviceName; QString serialDeviceName;
skipping to change at line 97 skipping to change at line 97
//This connection will be deleted in the destructor of Server //This connection will be deleted in the destructor of Server
addConnection(nexstar); addConnection(nexstar);
last_ra = 0; last_ra = 0;
queue_get_position = true; queue_get_position = true;
next_pos_time = -0x8000000000000000LL; next_pos_time = -0x8000000000000000LL;
} }
//! queues a GOTO command //! queues a GOTO command
void TelescopeClientDirectNexStar::telescopeGoto(const Vec3d &j2000Pos) void TelescopeClientDirectNexStar::telescopeGoto(const Vec3d &j2000Pos, Ste lObjectP selectObject)
{ {
Q_UNUSED(selectObject);
if (!isConnected()) if (!isConnected())
return; return;
Vec3d position = j2000Pos; Vec3d position = j2000Pos;
if (equinox == EquinoxJNow) if (equinox == EquinoxJNow)
{ {
const StelCore* core = StelApp::getInstance().getCore(); const StelCore* core = StelApp::getInstance().getCore();
position = core->j2000ToEquinoxEqu(j2000Pos, StelCore::Refra ctionOff); position = core->j2000ToEquinoxEqu(j2000Pos, StelCore::Refra ctionOff);
} }
 End of changes. 3 change blocks. 
2 lines changed or deleted 4 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/