view dep/animia/src/win.cc @ 191:0fc126d52de4

animia: multiple stylistic choices win.class_name is now used to store bundle IDs on OS X, add some little explanations here and there for dumb stuff
author Paper <mrpapersonic@gmail.com>
date Thu, 07 Dec 2023 01:48:04 -0500
parents 2d5823df870f
children bc1ae1810855
line wrap: on
line source

#include "animia/win.h"

#ifdef WIN32
#	include "animia/win/win32.h"
#elif defined(MACOSX)
#	include "animia/win/quartz.h"
#elif defined(X11)
#	include "animia/win/x11.h"
#endif

namespace animia::internal {

#ifdef WIN32
win32::Win32WinTools os_win;
#elif defined(MACOSX)
quartz::QuartzWinTools os_win;
#elif defined(X11)
x11::X11WinTools os_win;
#else
BaseWinTools os_win;
#endif

BaseWinTools& win = os_win;

} // namespace animia::internal