CHANGED: #1471 According to dnk-88 these methods are no longer needed, the XML description file is enough for the plugins.

--HG--
branch : gsoc2012-gui-editor
This commit is contained in:
dfighter1985 2012-05-27 23:35:46 +02:00
parent f4781db64b
commit 2ce2940bf3
3 changed files with 4 additions and 38 deletions

View file

@ -64,34 +64,7 @@ namespace GUIEditor
#endif // NL_OS_WINDOWS #endif // NL_OS_WINDOWS
m_libContext = new NLMISC::CLibraryContext(*nelContext); m_libContext = new NLMISC::CLibraryContext(*nelContext);
} }
QString GUIEditorPlugin::name() const
{
return tr("GUIEditor");
}
QString GUIEditorPlugin::version() const
{
return "0.0.1";
}
QString GUIEditorPlugin::vendor() const
{
return "Ryzom Core";
}
QString GUIEditorPlugin::description() const
{
return "GUI Editor ovqt plugin.";
}
QStringList GUIEditorPlugin::dependencies() const
{
QStringList list;
list.append(Core::Constants::OVQT_CORE_PLUGIN);
return list;
}
void GUIEditorPlugin::addAutoReleasedObject(QObject *obj) void GUIEditorPlugin::addAutoReleasedObject(QObject *obj)
{ {
m_plugMan->addObject(obj); m_plugMan->addObject(obj);

View file

@ -55,16 +55,6 @@ namespace GUIEditor
void setNelContext(NLMISC::INelContext *nelContext); void setNelContext(NLMISC::INelContext *nelContext);
QString name() const;
QString version() const;
QString vendor() const;
QString description() const;
QStringList dependencies() const;
void addAutoReleasedObject(QObject *obj); void addAutoReleasedObject(QObject *obj);
protected: protected:

View file

@ -4,4 +4,7 @@
<version>0.0.1</version> <version>0.0.1</version>
<vendor>Ryzom Core</vendor> <vendor>Ryzom Core</vendor>
<description>GUI Editor plugin.</description> <description>GUI Editor plugin.</description>
<dependencies>
<dependency plugin-name="Core" version="0.8"/>
</dependencies>
</plugin-spec> </plugin-spec>