TelescopeClientDirectNexStar.hpp   TelescopeClientDirectNexStar.hpp 
skipping to change at line 35 skipping to change at line 35
*/ */
#ifndef _TELESCOPE_CLIENT_DIRECT_NEXSTAR_ #ifndef _TELESCOPE_CLIENT_DIRECT_NEXSTAR_
#define _TELESCOPE_CLIENT_DIRECT_NEXSTAR_ #define _TELESCOPE_CLIENT_DIRECT_NEXSTAR_
#include <QObject> #include <QObject>
#include <QString> #include <QString>
#include "StelApp.hpp" #include "StelApp.hpp"
#include "StelObject.hpp" #include "StelObject.hpp"
#include "StelNavigator.hpp"
#include "Server.hpp" //from the telescope server source tree #include "Server.hpp" //from the telescope server source tree
#include "TelescopeClient.hpp" //from the plug-in's source tree #include "TelescopeClient.hpp" //from the plug-in's source tree
#include "InterpolatedPosition.hpp" #include "InterpolatedPosition.hpp"
class NexStarConnection; class NexStarConnection;
//! Telescope client that connects directly to a Celestron NexStar through a serial port. //! Telescope client that connects directly to a Celestron NexStar through a serial port.
//! This class has been created by merging the code of TelescopeTCP and Ser verNexStar. //! This class has been created by merging the code of TelescopeTCP and Ser verNexStar.
class TelescopeClientDirectNexStar : public TelescopeClient, public Server class TelescopeClientDirectNexStar : public TelescopeClient, public Server
skipping to change at line 69 skipping to change at line 68
//================================================================== ==== //================================================================== ====
// Methods inherited from Server // Methods inherited from Server
virtual void step(long long int timeout_micros); virtual void step(long long int timeout_micros);
void communicationResetReceived(void); void communicationResetReceived(void);
void raReceived(unsigned int ra_int); void raReceived(unsigned int ra_int);
void decReceived(unsigned int dec_int); void decReceived(unsigned int dec_int);
private: private:
//================================================================== ==== //================================================================== ====
// Methods inherited from TelescopeClient // Methods inherited from TelescopeClient
Vec3d getJ2000EquatorialPos(const StelNavigator *nav=0) const; Vec3d getJ2000EquatorialPos(const StelCore* core=0) const;
bool prepareCommunication(); bool prepareCommunication();
void performCommunication(); void performCommunication();
void telescopeGoto(const Vec3d &j2000Pos); void telescopeGoto(const Vec3d &j2000Pos);
bool isInitialized(void) const; bool isInitialized(void) const;
//================================================================== ==== //================================================================== ====
// Methods inherited from Server // Methods inherited from Server
void sendPosition(unsigned int ra_int, int dec_int, int status); void sendPosition(unsigned int ra_int, int dec_int, int status);
//TODO: Find out if this method is needed. It's called by Connection . //TODO: Find out if this method is needed. It's called by Connection .
void gotoReceived(unsigned int ra_int, int dec_int); void gotoReceived(unsigned int ra_int, int dec_int);
 End of changes. 2 change blocks. 
2 lines changed or deleted 1 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/