StelModule.cpp   StelModule.cpp 
skipping to change at line 21 skipping to change at line 21
* 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., 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA. * Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA.
*/ */
#include "StelModule.hpp" #include "StelModule.hpp"
#include "StelApp.hpp"
#include "StelActionMgr.hpp"
/************************************************************************* /*************************************************************************
Get the version of the module, default is stellarium main version Get the version of the module, default is stellarium main version
*************************************************************************/ *************************************************************************/
QString StelModule::getModuleVersion() const QString StelModule::getModuleVersion() const
{ {
return PACKAGE_VERSION; return PACKAGE_VERSION;
} }
bool StelModule::drawPartial(StelCore* core, class StelRenderer* renderer) class StelAction* StelModule::addAction(const QString& id, const QString& g
roupId, const QString& text,
QObject* target, const char* slot,
const QString& shortcut, const QStr
ing& altShortcut)
{ {
draw(core, renderer); StelActionMgr* mgr = StelApp::getInstance().getStelActionManager();
return false; return mgr->addAction(id, groupId, text, target, slot, shortcut, alt
Shortcut);
} }
 End of changes. 3 change blocks. 
3 lines changed or deleted 10 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/