spek-platform.h (509B)
1 #pragma once 2 3 #include <wx/string.h> 4 5 // Platform-specific initialisation code. 6 void spek_platform_init(); 7 8 // Not quite XDG-compatible, but close enough. 9 wxString spek_platform_config_path(const wxString& app_name); 10 11 // Setting non-default locale under GTK+ is tricky (see e.g. how FileZilla does it). We will 12 // just disable the language setting for GTK+ users and will always use the system locale. 13 bool spek_platform_can_change_language(); 14 15 // Fonts are smaller on OSX. 16 double spek_platform_font_scale();