TelescopeClientDirectLx200.cpp   TelescopeClientDirectLx200.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>
TelescopeClientDirectLx200::TelescopeClientDirectLx200 (const QString &name , const QString &parameters, Equinox eq) TelescopeClientDirectLx200::TelescopeClientDirectLx200 (const QString &name , const QString &parameters, Equinox eq)
: TelescopeClient(name) : TelescopeClient(name)
, time_delay(0) , time_delay(0)
, equinox(eq) , equinox(eq)
, lx200(NULL) , lx200(Q_NULLPTR)
, long_format_used(false) , long_format_used(false)
, answers_received(false) , answers_received(false)
, 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"
skipping to change at line 101 skipping to change at line 101
addConnection(lx200); addConnection(lx200);
long_format_used = false; // unknown long_format_used = false; // unknown
last_ra = 0; last_ra = 0;
queue_get_position = true; queue_get_position = true;
next_pos_time = -0x8000000000000000LL; next_pos_time = -0x8000000000000000LL;
answers_received = false; answers_received = false;
} }
//! queues a GOTO command //! queues a GOTO command
void TelescopeClientDirectLx200::telescopeGoto(const Vec3d &j2000Pos) void TelescopeClientDirectLx200::telescopeGoto(const Vec3d &j2000Pos, StelO bjectP 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/