2018-06-04 15:27:33 +00:00
|
|
|
#ifndef slic3r_GUI_Utils_FixModelByWin10_hpp_
|
|
|
|
#define slic3r_GUI_Utils_FixModelByWin10_hpp_
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
|
2018-06-04 19:22:42 +00:00
|
|
|
namespace Slic3r {
|
|
|
|
|
|
|
|
class Model;
|
|
|
|
class ModelObject;
|
|
|
|
class Print;
|
|
|
|
|
2018-06-04 15:27:33 +00:00
|
|
|
#ifdef HAS_WIN10SDK
|
|
|
|
|
|
|
|
extern bool is_windows10();
|
2018-06-04 19:22:42 +00:00
|
|
|
extern void fix_model_by_win10_sdk_gui(const ModelObject &model_object, const Print &print, Model &result);
|
2018-06-04 15:27:33 +00:00
|
|
|
|
|
|
|
#else /* HAS_WIN10SDK */
|
|
|
|
|
|
|
|
inline bool is_windows10() { return false; }
|
2018-06-04 19:22:42 +00:00
|
|
|
inline void fix_model_by_win10_sdk_gui(const ModelObject &, const Print &, Model &) {}
|
|
|
|
|
|
|
|
#endif /* HAS_WIN10SDK */
|
2018-06-04 15:27:33 +00:00
|
|
|
|
2018-06-04 19:22:42 +00:00
|
|
|
} // namespace Slic3r
|
2018-06-04 15:27:33 +00:00
|
|
|
|
|
|
|
#endif /* slic3r_GUI_Utils_FixModelByWin10_hpp_ */
|