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();
|
2019-02-03 21:14:34 +00:00
|
|
|
extern void fix_model_by_win10_sdk_gui(ModelObject &model_object, int volume_idx);
|
2018-06-04 15:27:33 +00:00
|
|
|
|
|
|
|
#else /* HAS_WIN10SDK */
|
|
|
|
|
|
|
|
inline bool is_windows10() { return false; }
|
2019-02-03 21:14:34 +00:00
|
|
|
inline void fix_model_by_win10_sdk_gui(ModelObject &, int) {}
|
2018-06-04 19:22:42 +00:00
|
|
|
|
|
|
|
#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_ */
|