Files
OrcaSlicer-bambulab/src/slic3r/Utils/Process.hpp
T

26 lines
754 B
C++
Raw Normal View History

2020-09-08 13:33:43 +02:00
#ifndef GUI_PROCESS_HPP
#define GUI_PROCESS_HPP
2020-10-12 17:52:48 +02:00
#include <vector>
2020-09-08 13:33:43 +02:00
class wxWindow;
2020-09-10 19:37:31 +02:00
class wxString;
2020-09-08 13:33:43 +02:00
namespace Slic3r {
namespace GUI {
// Start a new slicer instance, optionally with a file to open.
void start_new_slicer(const wxString *path_to_open = nullptr, bool single_instance = false);
void start_new_slicer(const std::vector<wxString>& files, bool single_instance = false);
2020-09-08 13:33:43 +02:00
// Start a new G-code viewer instance, optionally with a file to open.
void start_new_gcodeviewer(const wxString *path_to_open = nullptr);
// Open a file dialog, ask the user to select a new G-code to open, start a new G-code viewer.
void start_new_gcodeviewer_open_file(wxWindow *parent = nullptr);
} // namespace GUI
} // namespace Slic3r
#endif // GUI_PROCESS_HPP