00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef OMGMODELLERWEBSERVICESPLUGIN_H
00021 #define OMGMODELLERWEBSERVICESPLUGIN_H
00022
00023
00024 #include <QObject>
00025 #include <QString>
00026 #include <QStringList>
00027 #include <QMap>
00028
00029 #include "omgalgorithm.h"
00030 #include "omgmodel.h"
00031 #include "omgmodellerplugininterface.h"
00032
00033 #include "stdsoap2.h"
00034
00042 class OMG_PLUGIN_EXPORT OmgModellerWebServicesPlugin : public QObject, public OmgModellerPluginInterface
00043 {
00044 Q_OBJECT;
00045 Q_INTERFACES(OmgModellerPluginInterface);
00046 public:
00047 OmgModellerWebServicesPlugin( QObject* parent=0);
00048 ~OmgModellerWebServicesPlugin();
00052 QString createModel(OmgModel * theModel);
00057 void projectModel(OmgModel * theModel);
00058
00064 const QStringList getAlgorithmList();
00071 const OmgAlgorithmSet getAlgorithmSet();
00081 const QString getLayers(QString theBaseDir);
00082
00086 const QString getName() { return QString("Web Services Modeller Plugin"); };
00087
00088
00089
00090
00091
00093 wchar_t* convertToWideChar( const char* p );
00094 struct soap * getSoapConnection();
00095 public slots:
00096
00097 private slots:
00098
00099 signals:
00100 void error(QString);
00104 void logMessageUpdated(QString theMessage);
00111 void modelDone(QString theFileName);
00116 void modelProgressUpdate(int theProgress);
00117 private:
00122 bool initialise();
00123 int mModelProgress;
00124 int mMapProgress;
00125
00126
00127 };
00128
00129 #endif //OMGMODELLERWEBSERVICESPLUGIN_H
00130