TelescopeClient.hpp   TelescopeClient.hpp 
skipping to change at line 23 skipping to change at line 23
* as published by the Free Software Foundation; either version 2 * as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version. * of the License, or (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details. * GNU General Public License for more details.
* *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, U SA. * Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA.
*/ */
#ifndef _TELESCOPE_HPP_ #ifndef _TELESCOPE_HPP_
#define _TELESCOPE_HPP_ #define _TELESCOPE_HPP_
#include <QHostAddress> #include <QHostAddress>
#include <QHostInfo> #include <QHostInfo>
#include <QList> #include <QList>
#include <QString> #include <QString>
#include <QTcpSocket> #include <QTcpSocket>
#include <QObject> #include <QObject>
#include "StelApp.hpp" #include "StelApp.hpp"
#include "StelCore.hpp" //Needed for getting StelNavigator instances
#include "StelObject.hpp" #include "StelObject.hpp"
#include "InterpolatedPosition.hpp" #include "InterpolatedPosition.hpp"
class StelCore;
qint64 getNow(void); qint64 getNow(void);
enum Equinox { enum Equinox {
EquinoxJ2000, EquinoxJ2000,
EquinoxJNow EquinoxJNow
}; };
//! An abstract base class that should never be used directly, only inherit ed. //! An abstract base class that should never be used directly, only inherit ed.
//! This class used to be called Telescope, but it has been renamed //! This class used to be called Telescope, but it has been renamed
//! to TelescopeClient in order to resolve a compiler/linker conflict //! to TelescopeClient in order to resolve a compiler/linker conflict
skipping to change at line 94 skipping to change at line 95
virtual bool prepareCommunication() {return false;} virtual bool prepareCommunication() {return false;}
virtual void performCommunication() {} virtual void performCommunication() {}
protected: protected:
TelescopeClient(const QString &name); TelescopeClient(const QString &name);
QString nameI18n; QString nameI18n;
const QString name; const QString name;
private: private:
virtual bool isInitialized(void) const {return true;} virtual bool isInitialized(void) const {return true;}
float getSelectPriority(const StelNavigator*) const {return -10.f;} float getSelectPriority(const StelCore* core) const {Q_UNUSED(core); return -10.f;}
private: private:
QList<double> oculars; // fov of the oculars QList<double> oculars; // fov of the oculars
}; };
//! Example Telescope class. A physical telescope does not exist. //! Example Telescope class. A physical telescope does not exist.
//! This can be used as a starting point for implementing a derived //! This can be used as a starting point for implementing a derived
//! Telescope class. //! Telescope class.
//! This class used to be called TelescopeDummy, but it had to be renamed //! This class used to be called TelescopeDummy, but it had to be renamed
//! in order to resolve a compiler/linker conflict with the identically nam ed //! in order to resolve a compiler/linker conflict with the identically nam ed
//! TelescopeDummy class in Stellarium's main code. //! TelescopeDummy class in Stellarium's main code.
 End of changes. 4 change blocks. 
3 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/