Welcome to mirror list, hosted at ThFree Co, Russian Federation.

PrintHost.hpp « Utils « slic3r « src « xs - github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: bc828ea4690d6e98835b1f85895c4ebfdf384f19 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#ifndef slic3r_PrintHost_hpp_
#define slic3r_PrintHost_hpp_

#include <memory>
#include <string>
#include <wx/string.h>


namespace Slic3r {


class DynamicPrintConfig;

class PrintHost
{
public:
	virtual ~PrintHost();

	virtual bool test(wxString &curl_msg) const = 0;
	virtual wxString get_test_ok_msg () const = 0;
	virtual wxString get_test_failed_msg (wxString &msg) const = 0;
	// Send gcode file to print host, filename is expected to be in UTF-8
	virtual bool send_gcode(const std::string &filename) const = 0;
	virtual bool has_auto_discovery() const = 0;
	virtual bool can_test() const = 0;

	static PrintHost* get_print_host(DynamicPrintConfig *config);
};




}

#endif