00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef OMGOMMODELLERPLUGININTERFACE_H
00021 #define OMGOMMODELLERPLUGININTERFACE_H
00022
00023
00024 #include <QPluginLoader>
00025
00026
00027 #include "omgalgorithm.h"
00028 #include "omgalgorithmset.h"
00029 #include "omgmodel.h"
00030 #include "omgpluginmessenger.h"
00031 #include <QString>
00032 #include <QStringList>
00033 #include <QMap>
00034
00040 class OMG_LIB_EXPORT OmgModellerPluginInterface
00041 {
00042 public:
00043 virtual ~OmgModellerPluginInterface() ;
00048 virtual QString createModel(OmgModel * thepModel)=0;
00053 virtual void projectModel(OmgModel * thepModel)=0;
00054
00060 virtual const QStringList getAlgorithmList()=0;
00067 virtual const OmgAlgorithmSet getAlgorithmSet()=0;
00076 virtual const QString getLayers(QString theBaseDir)=0;
00080 virtual const QString getName()=0;
00089 virtual const OmgPluginMessenger * getMessenger() ;
00094 virtual const QString getModelDefinition(QString theModelXml);
00095
00096 protected:
00099 OmgModellerPluginInterface() {};
00101 OmgPluginMessenger mMessenger;
00102
00103 };
00104
00105
00106
00107 Q_DECLARE_INTERFACE(OmgModellerPluginInterface, "org.openmodeller.OmgModellerPluginInterface/1.0")
00108
00109 #endif
00110