LAMPCAE/src/PluginLAMPScatterProcess/LAMPScatterProcessPlugin.h

33 lines
765 B
C++

#ifndef _LAMPSCATTERPROCESS_H_
#define _LAMPSCATTERPROCESS_H_
#include "LAMPScatterProcessPluginAPI.h"
#include "PluginManager/pluginBase.h"
#include "MainWindow/MainWindow.h"
namespace LAMPScatterTool {
class LAMPSCATTERPROCESSPLUGINAPI LAMPScatterProcessPlugin : public Plugins::PluginBase {
Q_OBJECT
public:
LAMPScatterProcessPlugin(GUI::MainWindow* m);
~LAMPScatterProcessPlugin() = default;
bool install();
bool uninstall();
void reTranslate(QString);
static GUI::MainWindow* getMWpt();
public slots:
void TriggedProcess(GUI::MainWindow* m);
private:
static GUI::MainWindow* _mainwindow;
};
};
extern "C"
{
void LAMPSCATTERPROCESSPLUGINAPI Register(GUI::MainWindow* m, QList<Plugins::PluginBase*>* plugs);
}
#endif