2026-06-19 17:51:51 -07:00
|
|
|
#ifndef EXPLOITPANEL_HPP
|
|
|
|
|
#define EXPLOITPANEL_HPP
|
|
|
|
|
|
|
|
|
|
#ifdef WITH_GUI
|
|
|
|
|
|
|
|
|
|
#include <wx/wx.h>
|
|
|
|
|
#include "DevicePanel.hpp"
|
2026-07-06 04:05:57 -07:00
|
|
|
#include "../event.hpp"
|
2026-06-19 17:51:51 -07:00
|
|
|
|
|
|
|
|
class ExploitPanel;
|
|
|
|
|
class ExploitPanel : public DevicePanel
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
explicit ExploitPanel(MainFrame* frame, wxWindow* parent);
|
|
|
|
|
void SetDeviceState(const DeviceState& state) override;
|
|
|
|
|
void StartExploit();
|
|
|
|
|
private:
|
|
|
|
|
wxButton* m_backButton = nullptr;
|
|
|
|
|
wxStaticText* m_statusText = nullptr;
|
2026-06-26 20:55:55 -07:00
|
|
|
wxGauge* m_progressBar = nullptr;
|
2026-06-19 17:51:51 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif // WITH_GUI
|
|
|
|
|
|
|
|
|
|
#endif // EXPLOITPANEL_HPP
|