~ubuntu-branches/debian/squeeze/stellarium/squeeze

« back to all changes in this revision

Viewing changes to src/modules/TextUI.hpp

  • Committer: Bazaar Package Importer
  • Author(s): Cédric Delfosse
  • Date: 2009-02-18 21:29:51 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20090218212951-d20siwessjp7l2hq
Tags: 0.10.1-1
* New upstream release (Closes: #505850, #504329)
* Remove all previous patches (no more applies or no more needed), drop quilt
* Fix "planets wont show up with german locale" (Closes: #493287)
* Bump Standards-Version to 3.8.0
* Fix debian/copyright: licence version is GPL v2 or later

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Stellarium
 
3
 * This file Copyright (C) 2004-2008 Robert Spearman
 
4
 * 
 
5
 * This program is free software; you can redistribute it and/or
 
6
 * modify it under the terms of the GNU General Public License
 
7
 * as published by the Free Software Foundation; either version 2
 
8
 * of the License, or (at your option) any later version.
 
9
 * 
 
10
 * This program is distributed in the hope that it will be useful,
 
11
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
12
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
13
 * GNU General Public License for more details.
 
14
 * 
 
15
 * You should have received a copy of the GNU General Public License
 
16
 * along with this program; if not, write to the Free Software
 
17
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 
18
 */
 
19
 
 
20
#ifndef _TEXTUI_HPP_
 
21
#define _TEXTUI_HPP_
 
22
 
 
23
#include "StelModule.hpp"
 
24
 
 
25
//! @class TextUI
 
26
//! Text user interface stub.
 
27
class TextUI : public StelModule
 
28
{
 
29
        Q_OBJECT
 
30
 
 
31
public:
 
32
        //! Construct a TextUI object.
 
33
        TextUI(void) {  setObjectName("TextUI"); }
 
34
        virtual ~TextUI() {;}
 
35
 
 
36
        ///////////////////////////////////////////////////////////////////////////
 
37
        // Methods defined in the StelModule class
 
38
        //! Initialize the TextUI object.
 
39
        virtual void init();
 
40
        
 
41
        //! Draw
 
42
        virtual void draw(StelCore* core);
 
43
        
 
44
        //! Update time-dependent parts of the module.
 
45
        virtual void update(double deltaTime);
 
46
        
 
47
        //! Defines the order in which the various modules are drawn.
 
48
        virtual double getCallOrder(StelModuleActionName actionName) const;
 
49
        
 
50
//public slots:
 
51
        ///////////////////////////////////////////////////////////////////////////
 
52
        // Method callable from script and GUI
 
53
        
 
54
private:
 
55
 
 
56
        // temporary location to store strings for translating
 
57
        void temporary_translation();  
 
58
 
 
59
        
 
60
};
 
61
 
 
62
 
 
63
#endif // _TEXTUI_HPP_