#ifndef VIEWERTASKSCOMMON_H
#define VIEWERTASKSCOMMON_H

#include <QWidget>
#include"connectortoserver.h"
#include "ammtaskswidget.h"
#include "fimtaskswidget.h"

namespace Ui {
class ViewerTasksCommon;
}

class ViewerTasksCommon : public QWidget
{
    Q_OBJECT

public:
    explicit ViewerTasksCommon(ConnectorToServer* connectorToServer, AMMtasksWidget* ammTasksWidget_common, FIMtasksWidget* fimTasksWidget_common, QWidget *parent = nullptr);
    ~ViewerTasksCommon();

    void closeEvent(QCloseEvent *event) override;

private:
    ConnectorToServer* connectorToServer;

    AMMtasksWidget* ammTasksWidget_common;
    FIMtasksWidget* fimTasksWidget_common;

private:
    Ui::ViewerTasksCommon *ui;
};

#endif // VIEWERTASKSCOMMON_H
