mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-18 03:19:06 -07:00
The XS was left only for the unit / integration tests, and it links libslic3r only. No wxWidgets are allowed to be used from Perl starting from now.
27 lines
596 B
C++
27 lines
596 B
C++
#ifndef slic3r_GUI_Utils_FixModelByWin10_hpp_
|
|
#define slic3r_GUI_Utils_FixModelByWin10_hpp_
|
|
|
|
#include <string>
|
|
|
|
namespace Slic3r {
|
|
|
|
class Model;
|
|
class ModelObject;
|
|
class Print;
|
|
|
|
#ifdef HAS_WIN10SDK
|
|
|
|
extern bool is_windows10();
|
|
extern void fix_model_by_win10_sdk_gui(const ModelObject &model_object, const Print &print, Model &result);
|
|
|
|
#else /* HAS_WIN10SDK */
|
|
|
|
inline bool is_windows10() { return false; }
|
|
inline void fix_model_by_win10_sdk_gui(const ModelObject &, const Print &, Model &) {}
|
|
|
|
#endif /* HAS_WIN10SDK */
|
|
|
|
} // namespace Slic3r
|
|
|
|
#endif /* slic3r_GUI_Utils_FixModelByWin10_hpp_ */
|