mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-12-28 19:30:54 +00:00
CHANGED: #1471 According to dnk-88 these methods are no longer needed, the XML description file is enough for the plugins.
This commit is contained in:
parent
c3aff5dc6b
commit
4053fe6f8d
3 changed files with 4 additions and 38 deletions
|
@ -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);
|
||||||
|
|
|
@ -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:
|
||||||
|
|
|
@ -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>
|
Loading…
Reference in a new issue