00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef OMGPLUGINMESSENGER_H
00022 #define OMGPLUGINMESSENGER_H
00023
00024
00025 #include <QObject>
00026 #include <QString>
00027
00035 class OMG_LIB_EXPORT OmgPluginMessenger : public QObject
00036 {
00037 Q_OBJECT;
00038 public:
00039 OmgPluginMessenger(QObject *parent=0);
00040 virtual ~OmgPluginMessenger();
00041 public slots:
00048 void emitError(QString theError);
00055 void emitMessage(QString theMessage);
00063 void emitModelError(QString theModelGuid,QString theMessage);
00071 void emitModelMessage(QString theModelGuid,QString theMessage);
00078 void emitModelDone(QString theModelGuid);
00086 void emitModelCreationProgress(QString theModelGuid,int theProgress);
00094 void emitModelProjectionProgress(QString theModelGuid,int theProgress);
00096 void emitRefresh();
00097
00098
00099
00108 void emitFileWritten(QString theShapeFile, QString theTextFile, QString theTaxonName,int theCount);
00114 void emitFileNotWritten(QString theTaxonName);
00115 signals:
00120 void error(QString);
00125 void message(QString);
00130 void modelError(QString theModelGuid,QString theMessage);
00135 void modelMessage(QString theModelGuid,QString theMessage);
00140 void modelDone(QString theModelGuid);
00146 void modelCreationProgress(QString theModelGuid,int theProgress);
00152 void modelProjectionProgress(QString theModelGuid,int theProgress);
00154 void refresh();
00155
00156
00157
00165 void fileWritten(QString theShapeFile, QString theTextFile, QString theTaxonName,int theCount);
00170 void fileNotWritten(QString theTaxonName);
00171 };
00172
00173 #endif //OMGPLUGINMESSENGER