From 4053fe6f8dfa120a6353ebf82387b2e9d965086a Mon Sep 17 00:00:00 2001
From: dfighter1985 <devnull@localhost>
Date: Sun, 27 May 2012 23:35:46 +0200
Subject: [PATCH] CHANGED: #1471 According to dnk-88 these methods are no
 longer needed, the XML description file is enough for the plugins.

---
 .../plugins/gui_editor/gui_editor_plugin.cpp  | 29 +------------------
 .../plugins/gui_editor/gui_editor_plugin.h    | 10 -------
 .../gui_editor/ovqt_plugin_gui_editor.xml     |  3 ++
 3 files changed, 4 insertions(+), 38 deletions(-)

diff --git a/code/nel/tools/3d/object_viewer_qt/src/plugins/gui_editor/gui_editor_plugin.cpp b/code/nel/tools/3d/object_viewer_qt/src/plugins/gui_editor/gui_editor_plugin.cpp
index 04088f046..d135dde9a 100644
--- a/code/nel/tools/3d/object_viewer_qt/src/plugins/gui_editor/gui_editor_plugin.cpp
+++ b/code/nel/tools/3d/object_viewer_qt/src/plugins/gui_editor/gui_editor_plugin.cpp
@@ -64,34 +64,7 @@ namespace GUIEditor
 #endif // NL_OS_WINDOWS
 	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)
 	{
 		m_plugMan->addObject(obj);
diff --git a/code/nel/tools/3d/object_viewer_qt/src/plugins/gui_editor/gui_editor_plugin.h b/code/nel/tools/3d/object_viewer_qt/src/plugins/gui_editor/gui_editor_plugin.h
index 20ec0a96e..3b9fac2e7 100644
--- a/code/nel/tools/3d/object_viewer_qt/src/plugins/gui_editor/gui_editor_plugin.h
+++ b/code/nel/tools/3d/object_viewer_qt/src/plugins/gui_editor/gui_editor_plugin.h
@@ -55,16 +55,6 @@ namespace GUIEditor
 		
 		void setNelContext(NLMISC::INelContext *nelContext);
 		
-		QString name() const;
-		
-		QString version() const;
-		
-		QString vendor() const;
-		
-		QString description() const;
-		
-		QStringList dependencies() const;
-		
 		void addAutoReleasedObject(QObject *obj);
 		
 	protected:
diff --git a/code/nel/tools/3d/object_viewer_qt/src/plugins/gui_editor/ovqt_plugin_gui_editor.xml b/code/nel/tools/3d/object_viewer_qt/src/plugins/gui_editor/ovqt_plugin_gui_editor.xml
index 9b4efca08..987a43432 100644
--- a/code/nel/tools/3d/object_viewer_qt/src/plugins/gui_editor/ovqt_plugin_gui_editor.xml
+++ b/code/nel/tools/3d/object_viewer_qt/src/plugins/gui_editor/ovqt_plugin_gui_editor.xml
@@ -4,4 +4,7 @@
     <version>0.0.1</version>
     <vendor>Ryzom Core</vendor>
     <description>GUI Editor plugin.</description>
+    <dependencies>
+        <dependency plugin-name="Core" version="0.8"/>
+    </dependencies>
 </plugin-spec>
\ No newline at end of file