diff --git a/uppsrc/umk/MacOs.cpp b/uppsrc/umk/MacOs.cpp new file mode 100644 index 000000000..16de9442a --- /dev/null +++ b/uppsrc/umk/MacOs.cpp @@ -0,0 +1,37 @@ +#include "umake.h" +#include + +#ifdef PLATFORM_COCOA + +namespace Upp { // Silence linker errors + +CommonFontInfo GetFontInfoSys(Font font) +{ + CommonFontInfo fi; + return fi; +} + +GlyphInfo GetGlyphInfoSys(Font font, int chr) +{ + GlyphInfo gi; + return gi; +} + +Vector GetAllFacesSys() +{ + Vector r; + return r; +} + +String GetFontDataSys(Font font) +{ + return String(); +} + +void RenderCharacterSys(FontGlyphConsumer& sw, double x, double y, int chr, Font font) +{ +} + +}; + +#endif \ No newline at end of file diff --git a/uppsrc/umk/umk.upp b/uppsrc/umk/umk.upp index 09077fb49..8d0e221d6 100644 --- a/uppsrc/umk/umk.upp +++ b/uppsrc/umk/umk.upp @@ -4,6 +4,7 @@ uses ide\Builders; file + MacOs.cpp, umake.h, Console.cpp, IdeContext.cpp,