File indexing completed on 2024-04-14 05:41:27
0001 /* 0002 SPDX-FileCopyrightText: 2016 ROSA 0003 SPDX-License-Identifier: GPL-3.0-or-later 0004 */ 0005 0006 #ifndef PLATFORM_H 0007 #define PLATFORM_H 0008 0009 #include <QtGlobal> 0010 0011 #if defined(Q_OS_WIN32) 0012 #include <windows.h> 0013 #include <WinIoCtl.h> 0014 #include <dbt.h> 0015 #include <Wbemidl.h> 0016 #include <Shobjidl.h> 0017 #include <comutil.h> 0018 #include <io.h> 0019 #endif 0020 0021 #if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD) 0022 #include <unistd.h> 0023 #endif 0024 0025 #if defined(Q_OS_MAC) 0026 #include <unistd.h> 0027 #include <sys/param.h> 0028 #include <sys/ucred.h> 0029 #include <sys/mount.h> 0030 #include <errno.h> 0031 #endif 0032 0033 #endif // PLATFORM_H