SPH
RunSelectDialog.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "run/Node.h"
4 #include <wx/dialog.h>
5 
6 class wxCheckBox;
7 
9 
10 class RunSelectDialog : public wxDialog {
11 private:
13  SharedPtr<JobNode> selected;
14  wxCheckBox* rememberBox;
15 
16 public:
17  RunSelectDialog(wxWindow* parent, Array<SharedPtr<JobNode>>&& nodes);
18 
20  return selected;
21  }
22 
23  bool remember() const;
24 
26 
27 private:
28  void select(const int index);
29 };
30 
NAMESPACE_SPH_BEGIN
Definition: BarnesHut.cpp:13
#define NAMESPACE_SPH_END
Definition: Object.h:12
Generic dynamically allocated resizable storage.
Definition: Array.h:43
SharedPtr< JobNode > selectedNode() const
bool remember() const
RunSelectDialog(wxWindow *parent, Array< SharedPtr< JobNode >> &&nodes)