mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-10 09:19:01 +00:00
Line endings...
This commit is contained in:
parent
9d347a9993
commit
89d0222657
2 changed files with 92 additions and 92 deletions
|
@ -1,61 +1,61 @@
|
||||||
// Ryzom Core - MMORPG Framework <http://dev.ryzom.com/projects/nel/>
|
// Ryzom Core - MMORPG Framework <http://dev.ryzom.com/projects/nel/>
|
||||||
// Copyright (C) 2010 Winch Gate Property Limited
|
// Copyright (C) 2010 Winch Gate Property Limited
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// This program is free software: you can redistribute it and/or modify
|
||||||
// it under the terms of the GNU Affero General Public License as
|
// it under the terms of the GNU Affero General Public License as
|
||||||
// published by the Free Software Foundation, either version 3 of the
|
// published by the Free Software Foundation, either version 3 of the
|
||||||
// License, or (at your option) any later version.
|
// 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 Affero General Public License for more details.
|
// GNU Affero General Public License for more details.
|
||||||
//
|
//
|
||||||
// You should have received a copy of the GNU Affero General Public License
|
// You should have received a copy of the GNU Affero General Public License
|
||||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
|
||||||
#include "pm_watcher.h"
|
#include "pm_watcher.h"
|
||||||
#include "extension_system\iplugin_manager.h"
|
#include "extension_system\iplugin_manager.h"
|
||||||
#include "splash_screen.h"
|
#include "splash_screen.h"
|
||||||
|
|
||||||
void PluginManagerWatcher::connect()
|
void PluginManagerWatcher::connect()
|
||||||
{
|
{
|
||||||
QObject::connect( pm, SIGNAL( pluginLoading( const char * ) ), this, SLOT( onPluginLoading( const char * ) ) );
|
QObject::connect( pm, SIGNAL( pluginLoading( const char * ) ), this, SLOT( onPluginLoading( const char * ) ) );
|
||||||
QObject::connect( pm, SIGNAL( pluginInitializing( const char * ) ), this, SLOT( onPluginInitializing( const char * ) ) );
|
QObject::connect( pm, SIGNAL( pluginInitializing( const char * ) ), this, SLOT( onPluginInitializing( const char * ) ) );
|
||||||
QObject::connect( pm, SIGNAL( pluginStarting( const char * ) ), this, SLOT( onPluginStarting( const char * ) ) );
|
QObject::connect( pm, SIGNAL( pluginStarting( const char * ) ), this, SLOT( onPluginStarting( const char * ) ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
void PluginManagerWatcher::disconnect()
|
void PluginManagerWatcher::disconnect()
|
||||||
{
|
{
|
||||||
QObject::disconnect( pm, SIGNAL( pluginLoading( const char * ) ), this, SLOT( onPluginLoading( const char * ) ) );
|
QObject::disconnect( pm, SIGNAL( pluginLoading( const char * ) ), this, SLOT( onPluginLoading( const char * ) ) );
|
||||||
QObject::disconnect( pm, SIGNAL( pluginInitializing( const char * ) ), this, SLOT( onPluginInitializing( const char * ) ) );
|
QObject::disconnect( pm, SIGNAL( pluginInitializing( const char * ) ), this, SLOT( onPluginInitializing( const char * ) ) );
|
||||||
QObject::disconnect( pm, SIGNAL( pluginStarting( const char * ) ), this, SLOT( onPluginStarting( const char * ) ) );
|
QObject::disconnect( pm, SIGNAL( pluginStarting( const char * ) ), this, SLOT( onPluginStarting( const char * ) ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
void PluginManagerWatcher::onPluginLoading( const char *plugin )
|
void PluginManagerWatcher::onPluginLoading( const char *plugin )
|
||||||
{
|
{
|
||||||
QString s = "Loading plugin ";
|
QString s = "Loading plugin ";
|
||||||
s += plugin;
|
s += plugin;
|
||||||
s += "...";
|
s += "...";
|
||||||
sp->setText( s );
|
sp->setText( s );
|
||||||
}
|
}
|
||||||
|
|
||||||
void PluginManagerWatcher::onPluginInitializing( const char *plugin )
|
void PluginManagerWatcher::onPluginInitializing( const char *plugin )
|
||||||
{
|
{
|
||||||
QString s = "Initializing plugin ";
|
QString s = "Initializing plugin ";
|
||||||
s += plugin;
|
s += plugin;
|
||||||
s += "...";
|
s += "...";
|
||||||
sp->setText( s );
|
sp->setText( s );
|
||||||
}
|
}
|
||||||
|
|
||||||
void PluginManagerWatcher::onPluginStarting( const char *plugin )
|
void PluginManagerWatcher::onPluginStarting( const char *plugin )
|
||||||
{
|
{
|
||||||
QString s = "Starting plugin ";
|
QString s = "Starting plugin ";
|
||||||
s += plugin;
|
s += plugin;
|
||||||
s += "...";
|
s += "...";
|
||||||
sp->setText( s );
|
sp->setText( s );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,33 +1,33 @@
|
||||||
// Ryzom Core - MMORPG Framework <http://dev.ryzom.com/projects/nel/>
|
// Ryzom Core - MMORPG Framework <http://dev.ryzom.com/projects/nel/>
|
||||||
// Copyright (C) 2010 Winch Gate Property Limited
|
// Copyright (C) 2010 Winch Gate Property Limited
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// This program is free software: you can redistribute it and/or modify
|
||||||
// it under the terms of the GNU Affero General Public License as
|
// it under the terms of the GNU Affero General Public License as
|
||||||
// published by the Free Software Foundation, either version 3 of the
|
// published by the Free Software Foundation, either version 3 of the
|
||||||
// License, or (at your option) any later version.
|
// 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 Affero General Public License for more details.
|
// GNU Affero General Public License for more details.
|
||||||
//
|
//
|
||||||
// You should have received a copy of the GNU Affero General Public License
|
// You should have received a copy of the GNU Affero General Public License
|
||||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
|
||||||
#ifndef PM_WATCHER_H
|
#ifndef PM_WATCHER_H
|
||||||
#define PM_WATCHER_H
|
#define PM_WATCHER_H
|
||||||
|
|
||||||
#include <QObject>
|
#include <QObject>
|
||||||
|
|
||||||
namespace ExtensionSystem
|
namespace ExtensionSystem
|
||||||
{
|
{
|
||||||
class IPluginManager;
|
class IPluginManager;
|
||||||
}
|
}
|
||||||
|
|
||||||
class SplashScreen;
|
class SplashScreen;
|
||||||
class PluginManager;
|
class PluginManager;
|
||||||
|
|
||||||
class PluginManagerWatcher : public QObject
|
class PluginManagerWatcher : public QObject
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
@ -56,8 +56,8 @@ private Q_SLOTS:
|
||||||
private:
|
private:
|
||||||
SplashScreen *sp;
|
SplashScreen *sp;
|
||||||
ExtensionSystem::IPluginManager *pm;
|
ExtensionSystem::IPluginManager *pm;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue