EX-Display
EX-Display
Loading...
Searching...
No Matches
/home/runner/work/EX-Display/EX-Display/CreateUserDevices.h
Go to the documentation of this file.
1/*
2 * © 2024 Peter Cole
3 *
4 * This is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation, either version 3 of the License, or
7 * (at your option) any later version.
8 *
9 * It is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this code. If not, see <https://www.gnu.org/licenses/>.
16 */
17
23#ifndef CREATEUSERDEVICES_H
24#define CREATEUSERDEVICES_H
25
26// Always include DisplayManager and InputManager for both testing and running
27#include "DisplayManager.h"
28#include "InputManager.h"
29
30#ifndef PIO_UNIT_TESTING // Do not include actual device headers for testing as they are incompatible
31#include "TFT_eSPIDisplay.h"
32#include "TFT_eSPITouch.h"
33#else // Include mock headers for testing
37#endif // PIO_UNIT_TESTING
38
39// Include CreateDeviceMacros last to build the DisplayManager and InputManager implementation methods
40#include "CreateDeviceMacros.h"
41
42#endif // CREATEUSERDEVICES_H