|
| 1 | +/******************************************************************************/ |
| 2 | +/* linux.h */ |
| 3 | +/******************************************************************************/ |
| 4 | +/* This file is part of */ |
| 5 | +/* KAIJU ENGINE */ |
| 6 | +/* https://kaijuengine.com/ */ |
| 7 | +/******************************************************************************/ |
| 8 | +/* MIT License */ |
| 9 | +/* */ |
| 10 | +/* Copyright (c) 2023-present Kaiju Engine authors (AUTHORS.md). */ |
| 11 | +/* Copyright (c) 2015-present Brent Farris. */ |
| 12 | +/* */ |
| 13 | +/* May all those that this source may reach be blessed by the LORD and find */ |
| 14 | +/* peace and joy in life. */ |
| 15 | +/* Everyone who drinks of this water will be thirsty again; but whoever */ |
| 16 | +/* drinks of the water that I will give him shall never thirst; John 4:13-14 */ |
| 17 | +/* */ |
| 18 | +/* Permission is hereby granted, free of charge, to any person obtaining a */ |
| 19 | +/* copy of this software and associated documentation files (the "Software"), */ |
| 20 | +/* to deal in the Software without restriction, including without limitation */ |
| 21 | +/* the rights to use, copy, modify, merge, publish, distribute, sublicense, */ |
| 22 | +/* and/or sell copies of the Software, and to permit persons to whom the */ |
| 23 | +/* Software is furnished to do so, subject to the following conditions: */ |
| 24 | +/* */ |
| 25 | +/* The above copyright, blessing, biblical verse, notice and */ |
| 26 | +/* this permission notice shall be included in all copies or */ |
| 27 | +/* substantial portions of the Software. */ |
| 28 | +/* */ |
| 29 | +/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS */ |
| 30 | +/* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */ |
| 31 | +/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. */ |
| 32 | +/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */ |
| 33 | +/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT */ |
| 34 | +/* OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE */ |
| 35 | +/* OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ |
| 36 | +/******************************************************************************/ |
| 37 | + |
| 38 | +#ifndef WINDOWING_LINUX_H |
| 39 | +#define WINDOWING_LINUX_H |
| 40 | + |
| 41 | +#ifdef USE_WAYLAND |
| 42 | +#include "wayland.h" |
| 43 | +#else |
| 44 | +#include "x11.h" |
| 45 | +#endif |
| 46 | + |
| 47 | +#endif |
0 commit comments