TextUserInterface.hpp   TextUserInterface.hpp 
skipping to change at line 24 skipping to change at line 24
* 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., 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA. * Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA.
*/ */
#ifndef TEXTUSERINTERFACE_HPP_ #ifndef TEXTUSERINTERFACE_HPP_
#define _TEXTUSERINTERFACE_HPP_ 1 #define _TEXTUSERINTERFACE_HPP_ 1
#include "StelModule.hpp" #include "StelModule.hpp"
#include "DummyDialog.hpp" #include "DummyDialog.hpp"
#include "StelCore.hpp"
#include <QObject> #include <QObject>
#include <QString> #include <QString>
#include <QFont> #include <QFont>
class TuiNode; class TuiNode;
//! This is an example of a plug-in which can be dynamically loaded into st ellarium //! This is an example of a plug-in which can be dynamically loaded into st ellarium
class TextUserInterface : public StelModule class TextUserInterface : public StelModule
{ {
skipping to change at line 84 skipping to change at line 85
void setBortleScale(int bortle); void setBortleScale(int bortle);
private: private:
DummyDialog dummyDialog; DummyDialog dummyDialog;
QFont font; QFont font;
bool tuiActive; bool tuiActive;
bool tuiDateTime; bool tuiDateTime;
bool tuiObjInfo; bool tuiObjInfo;
bool tuiGravityUi; bool tuiGravityUi;
TuiNode* currentNode; TuiNode* currentNode;
Vec3f color;
double getLatitude(void); double getLatitude(void);
double getLongitude(void); double getLongitude(void);
}; };
#include <QObject> #include <QObject>
#include "StelPluginInterface.hpp" #include "StelPluginInterface.hpp"
//! This class is used by Qt to manage a plug-in interface //! This class is used by Qt to manage a plug-in interface
class TextUserInterfaceStelPluginInterface : public QObject, public StelPlu ginInterface class TextUserInterfaceStelPluginInterface : public QObject, public StelPlu ginInterface
{ {
Q_OBJECT Q_OBJECT
Q_PLUGIN_METADATA(IID "stellarium.StelGuiPluginInterface/1.0") Q_PLUGIN_METADATA(IID StelPluginInterface_iid)
Q_INTERFACES(StelPluginInterface) Q_INTERFACES(StelPluginInterface)
public: public:
virtual StelModule* getStelModule() const; virtual StelModule* getStelModule() const;
virtual StelPluginInfo getPluginInfo() const; virtual StelPluginInfo getPluginInfo() const;
}; };
#endif /*_TEXTUSERINTERFACE_HPP_*/ #endif /*_TEXTUSERINTERFACE_HPP_*/
 End of changes. 3 change blocks. 
1 lines changed or deleted 3 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/