~ubuntu-branches/debian/jessie/stellarium/jessie

« back to all changes in this revision

Viewing changes to src/core/StelObjectMgr.hpp

  • Committer: Package Import Robot
  • Author(s): Tomasz Buchert
  • Date: 2013-02-02 18:00:48 UTC
  • mto: (11.1.3 experimental)
  • mto: This revision was merged to the branch mainline in revision 12.
  • Revision ID: package-import@ubuntu.com-20130202180048-8xfa026z0z4h0gd6
Tags: upstream-0.12.0
ImportĀ upstreamĀ versionĀ 0.12.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
42
42
        ///////////////////////////////////////////////////////////////////////////
43
43
        // Methods defined in the StelModule class
44
44
        virtual void init() {;}
45
 
        virtual void draw(StelCore*) {;}
 
45
        virtual void draw(StelCore*, class StelRenderer*) {;}
46
46
        virtual void update(double) {;}
47
47
 
48
48
        ///////////////////////////////////////////////////////////////////////////
83
83
        //! @return a list of matching object names by order of relevance, or an empty list if nothing match
84
84
        QStringList listMatchingObjectsI18n(const QString& objPrefix, unsigned int maxNbItem=5) const;
85
85
 
 
86
        QStringList listAllModuleObjects(const QString& moduleId, bool inEnglish) const;
 
87
        QMap<QString, QString> objectModulesMap() const;
 
88
 
86
89
        //! Return whether an object was selected during last selection related event.
87
90
        bool getWasSelected(void) const {return !lastSelectedObjects.empty();}
88
91
 
129
132
signals:
130
133
        //! Indicate that the selected StelObjects has changed.
131
134
        //! @param action define if the user requested that the objects are added to the selection or just replace it
132
 
        void selectedObjectChanged(StelModule::StelModuleSelectAction);
 
135
        void selectedObjectChanged(StelModule::StelModuleSelectAction action);
133
136
 
134
137
private:
135
138
        // The list of StelObjectModule that are referenced in Stellarium