Commit 91a769e5 authored by Jan Möbius's avatar Jan Möbius

Removed iniinterface from a lot of plugins

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@11423 383ad7c9-94d9-4d36-a494-682f7c89f535
parent c63b4ec6
......@@ -46,6 +46,8 @@
#include "FileBVH.hh"
#include <iostream>
#include <fstream>
#include <sstream>
#include "OpenFlipper/BasePlugin/PluginFunctions.hh"
#include "OpenFlipper/common/GlobalOptions.hh"
......
......@@ -51,14 +51,13 @@
#include <OpenFlipper/BasePlugin/LoadSaveInterface.hh>
#include <OpenFlipper/BasePlugin/LoggingInterface.hh>
#include <OpenFlipper/BasePlugin/ScriptInterface.hh>
#include <OpenFlipper/BasePlugin/INIInterface.hh>
#include <OpenFlipper/BasePlugin/TypeInterface.hh>
#include <OpenFlipper/BasePlugin/RPCInterface.hh>
#include <ObjectTypes/Skeleton/Skeleton.hh>
class FileBVHPlugin : public QObject, BaseInterface, FileInterface, LoadSaveInterface,
LoggingInterface, ScriptInterface, INIInterface
LoggingInterface, ScriptInterface
{
Q_OBJECT
Q_INTERFACES(FileInterface)
......@@ -66,7 +65,6 @@ class FileBVHPlugin : public QObject, BaseInterface, FileInterface, LoadSaveInte
Q_INTERFACES(LoggingInterface)
Q_INTERFACES(BaseInterface)
Q_INTERFACES(ScriptInterface)
Q_INTERFACES(INIInterface)
signals:
void openedFile( int _id );
......
......@@ -51,10 +51,9 @@
#include <OpenFlipper/BasePlugin/LoadSaveInterface.hh>
#include <OpenFlipper/BasePlugin/LoggingInterface.hh>
#include <OpenFlipper/BasePlugin/ScriptInterface.hh>
#include <OpenFlipper/BasePlugin/INIInterface.hh>
#include <ObjectTypes/Light/Light.hh>
class FileLightPlugin : public QObject, BaseInterface, FileInterface, LoadSaveInterface, LoggingInterface, ScriptInterface, INIInterface
class FileLightPlugin : public QObject, BaseInterface, FileInterface, LoadSaveInterface, LoggingInterface, ScriptInterface
{
Q_OBJECT
Q_INTERFACES(FileInterface)
......@@ -62,7 +61,6 @@ class FileLightPlugin : public QObject, BaseInterface, FileInterface, LoadSaveIn
Q_INTERFACES(LoggingInterface)
Q_INTERFACES(BaseInterface)
Q_INTERFACES(ScriptInterface)
Q_INTERFACES(INIInterface)
signals:
void openedFile( int _id );
......
......@@ -51,7 +51,6 @@
#include <OpenFlipper/BasePlugin/LoadSaveInterface.hh>
#include <OpenFlipper/BasePlugin/LoggingInterface.hh>
#include <OpenFlipper/BasePlugin/ScriptInterface.hh>
#include <OpenFlipper/BasePlugin/INIInterface.hh>
#include <OpenFlipper/BasePlugin/TypeInterface.hh>
#include <OpenFlipper/BasePlugin/RPCInterface.hh>
#include <OpenFlipper/BasePlugin/StatusbarInterface.hh>
......@@ -79,7 +78,7 @@ enum ReaderMode
};
class FileOBJPlugin : public QObject, BaseInterface, FileInterface, LoadSaveInterface,
LoggingInterface, ScriptInterface, INIInterface, StatusbarInterface, RPCInterface, TextureInterface
LoggingInterface, ScriptInterface, StatusbarInterface, RPCInterface, TextureInterface
{
Q_OBJECT
Q_INTERFACES(FileInterface)
......@@ -87,7 +86,6 @@ class FileOBJPlugin : public QObject, BaseInterface, FileInterface, LoadSaveInte
Q_INTERFACES(LoggingInterface)
Q_INTERFACES(BaseInterface)
Q_INTERFACES(ScriptInterface)
Q_INTERFACES(INIInterface)
Q_INTERFACES(StatusbarInterface)
Q_INTERFACES(RPCInterface)
Q_INTERFACES(TextureInterface)
......
......@@ -51,7 +51,6 @@
#include <OpenFlipper/BasePlugin/LoadSaveInterface.hh>
#include <OpenFlipper/BasePlugin/LoggingInterface.hh>
#include <OpenFlipper/BasePlugin/ScriptInterface.hh>
#include <OpenFlipper/BasePlugin/INIInterface.hh>
#include <OpenFlipper/BasePlugin/TypeInterface.hh>
#include <OpenFlipper/BasePlugin/StatusbarInterface.hh>
......@@ -65,7 +64,7 @@
#include "OFFImporter.hh"
class FileOFFPlugin : public QObject, BaseInterface, FileInterface, LoadSaveInterface,
LoggingInterface, ScriptInterface, INIInterface, StatusbarInterface
LoggingInterface, ScriptInterface, StatusbarInterface
{
Q_OBJECT
Q_INTERFACES(FileInterface)
......@@ -73,7 +72,6 @@ class FileOFFPlugin : public QObject, BaseInterface, FileInterface, LoadSaveInte
Q_INTERFACES(LoggingInterface)
Q_INTERFACES(BaseInterface)
Q_INTERFACES(ScriptInterface)
Q_INTERFACES(INIInterface)
Q_INTERFACES(StatusbarInterface)
signals:
......
......@@ -51,7 +51,6 @@
#include <OpenFlipper/BasePlugin/LoadSaveInterface.hh>
#include <OpenFlipper/BasePlugin/LoggingInterface.hh>
#include <OpenFlipper/BasePlugin/ScriptInterface.hh>
#include <OpenFlipper/BasePlugin/INIInterface.hh>
#include <OpenFlipper/BasePlugin/TypeInterface.hh>
#include <OpenFlipper/BasePlugin/RPCInterface.hh>
......@@ -59,7 +58,7 @@
#include <ObjectTypes/TriangleMesh/TriangleMesh.hh>
class FileOMPlugin : public QObject, BaseInterface, FileInterface, LoadSaveInterface,
LoggingInterface, ScriptInterface, INIInterface
LoggingInterface, ScriptInterface
{
Q_OBJECT
Q_INTERFACES(FileInterface)
......@@ -67,7 +66,6 @@ class FileOMPlugin : public QObject, BaseInterface, FileInterface, LoadSaveInter
Q_INTERFACES(LoggingInterface)
Q_INTERFACES(BaseInterface)
Q_INTERFACES(ScriptInterface)
Q_INTERFACES(INIInterface)
signals:
void openedFile( int _id );
......
......@@ -51,9 +51,8 @@
#include <OpenFlipper/BasePlugin/LoadSaveInterface.hh>
#include <OpenFlipper/BasePlugin/LoggingInterface.hh>
#include <OpenFlipper/BasePlugin/ScriptInterface.hh>
#include <OpenFlipper/BasePlugin/INIInterface.hh>
class FileViewPlugin : public QObject, BaseInterface, FileInterface, LoadSaveInterface, LoggingInterface, ScriptInterface, INIInterface
class FileViewPlugin : public QObject, BaseInterface, FileInterface, LoadSaveInterface, LoggingInterface, ScriptInterface
{
Q_OBJECT
Q_INTERFACES(FileInterface)
......@@ -61,7 +60,6 @@ class FileViewPlugin : public QObject, BaseInterface, FileInterface, LoadSaveInt
Q_INTERFACES(LoggingInterface)
Q_INTERFACES(BaseInterface)
Q_INTERFACES(ScriptInterface)
Q_INTERFACES(INIInterface)
signals:
void openedFile( int _id );
......
......@@ -51,7 +51,6 @@
#include <OpenFlipper/BasePlugin/LoadSaveInterface.hh>
#include <OpenFlipper/BasePlugin/LoggingInterface.hh>
#include <OpenFlipper/BasePlugin/ScriptInterface.hh>
#include <OpenFlipper/BasePlugin/INIInterface.hh>
#include <OpenFlipper/BasePlugin/TypeInterface.hh>
#include <OpenFlipper/BasePlugin/RPCInterface.hh>
......@@ -59,7 +58,7 @@
#include <ObjectTypes/TriangleMesh/TriangleMesh.hh>
class FilePLYPlugin : public QObject, BaseInterface, FileInterface, LoadSaveInterface,
LoggingInterface, ScriptInterface, INIInterface
LoggingInterface, ScriptInterface
{
Q_OBJECT
Q_INTERFACES(FileInterface)
......@@ -67,7 +66,6 @@ class FilePLYPlugin : public QObject, BaseInterface, FileInterface, LoadSaveInte
Q_INTERFACES(LoggingInterface)
Q_INTERFACES(BaseInterface)
Q_INTERFACES(ScriptInterface)
Q_INTERFACES(INIInterface)
signals:
void openedFile( int _id );
......
......@@ -46,6 +46,10 @@
#include "FilePLY.hh"
#include <iostream>
#include <fstream>
#include <sstream>
template <class MeshT>
bool FilePLYPlugin::readMeshFileAscii(QString _filename, MeshT* _mesh, const PLYHeader& _header) {
......@@ -961,4 +965,4 @@ bool FilePLYPlugin::writeMeshFileBinary(QString _filename, MeshT* _mesh) {
ofs.close();
return true;
}
\ No newline at end of file
}
......@@ -51,10 +51,9 @@
#include <OpenFlipper/BasePlugin/LoadSaveInterface.hh>
#include <OpenFlipper/BasePlugin/LoggingInterface.hh>
#include <OpenFlipper/BasePlugin/ScriptInterface.hh>
#include <OpenFlipper/BasePlugin/INIInterface.hh>
#include <ObjectTypes/Plane/Plane.hh>
class FilePlaPlugin : public QObject, BaseInterface, FileInterface, LoadSaveInterface, LoggingInterface, ScriptInterface, INIInterface
class FilePlaPlugin : public QObject, BaseInterface, FileInterface, LoadSaveInterface, LoggingInterface, ScriptInterface
{
Q_OBJECT
Q_INTERFACES(FileInterface)
......@@ -62,7 +61,6 @@ class FilePlaPlugin : public QObject, BaseInterface, FileInterface, LoadSaveInte
Q_INTERFACES(LoggingInterface)
Q_INTERFACES(BaseInterface)
Q_INTERFACES(ScriptInterface)
Q_INTERFACES(INIInterface)
signals:
void openedFile( int _id );
......
......@@ -51,10 +51,9 @@
#include <OpenFlipper/BasePlugin/LoadSaveInterface.hh>
#include <OpenFlipper/BasePlugin/LoggingInterface.hh>
#include <OpenFlipper/BasePlugin/ScriptInterface.hh>
#include <OpenFlipper/BasePlugin/INIInterface.hh>
#include <ObjectTypes/Sphere/Sphere.hh>
class FileSPHPlugin : public QObject, BaseInterface, FileInterface, LoadSaveInterface, LoggingInterface, ScriptInterface, INIInterface
class FileSPHPlugin : public QObject, BaseInterface, FileInterface, LoadSaveInterface, LoggingInterface, ScriptInterface
{
Q_OBJECT
Q_INTERFACES(FileInterface)
......@@ -62,7 +61,6 @@ class FileSPHPlugin : public QObject, BaseInterface, FileInterface, LoadSaveInte
Q_INTERFACES(LoggingInterface)
Q_INTERFACES(BaseInterface)
Q_INTERFACES(ScriptInterface)
Q_INTERFACES(INIInterface)
signals:
void openedFile( int _id );
......
......@@ -52,14 +52,13 @@
#include <OpenFlipper/BasePlugin/LoadSaveInterface.hh>
#include <OpenFlipper/BasePlugin/LoggingInterface.hh>
#include <OpenFlipper/BasePlugin/ScriptInterface.hh>
#include <OpenFlipper/BasePlugin/INIInterface.hh>
#include <OpenFlipper/BasePlugin/TypeInterface.hh>
#include <OpenFlipper/BasePlugin/RPCInterface.hh>
#include <ObjectTypes/TriangleMesh/TriangleMesh.hh>
class FileSTLPlugin : public QObject, BaseInterface, FileInterface, LoadSaveInterface,
LoggingInterface, ScriptInterface, INIInterface
LoggingInterface, ScriptInterface
{
Q_OBJECT
Q_INTERFACES(FileInterface)
......@@ -67,7 +66,6 @@ class FileSTLPlugin : public QObject, BaseInterface, FileInterface, LoadSaveInte
Q_INTERFACES(LoggingInterface)
Q_INTERFACES(BaseInterface)
Q_INTERFACES(ScriptInterface)
Q_INTERFACES(INIInterface)
signals:
void openedFile( int _id );
......
......@@ -51,10 +51,9 @@
#include <OpenFlipper/BasePlugin/LoadSaveInterface.hh>
#include <OpenFlipper/BasePlugin/LoggingInterface.hh>
#include <OpenFlipper/BasePlugin/ScriptInterface.hh>
#include <OpenFlipper/BasePlugin/INIInterface.hh>
#include <OpenFlipper/BasePlugin/RPCInterface.hh>
class FileScriptPlugin : public QObject, BaseInterface, FileInterface, LoadSaveInterface, LoggingInterface, ScriptInterface, INIInterface, RPCInterface
class FileScriptPlugin : public QObject, BaseInterface, FileInterface, LoadSaveInterface, LoggingInterface, ScriptInterface, RPCInterface
{
Q_OBJECT
Q_INTERFACES(FileInterface)
......@@ -62,7 +61,6 @@ class FileScriptPlugin : public QObject, BaseInterface, FileInterface, LoadSaveI
Q_INTERFACES(LoggingInterface)
Q_INTERFACES(BaseInterface)
Q_INTERFACES(ScriptInterface)
Q_INTERFACES(INIInterface)
Q_INTERFACES(RPCInterface)
signals:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment