mirror of
https://github.com/Qsgs-Fans/FreeKill.git
synced 2024-11-16 03:32:34 +08:00
79ede70b6b
- 修复了Log淹没正在输入命令的bug - 增加Tab补全:命令补全、install链接推荐、用户名补全、拓展包名补全 - 为Windows端增加基于cstdio的getline函数的丐版shell
35 lines
598 B
C
35 lines
598 B
C
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
#ifndef _PCH_H
|
|
#define _PCH_H
|
|
|
|
// core gui qml
|
|
#include <QtCore>
|
|
|
|
// network
|
|
#include <QTcpServer>
|
|
#include <QTcpSocket>
|
|
#include <QUdpSocket>
|
|
|
|
// other libraries
|
|
typedef int LuaFunction;
|
|
#include "lua.hpp"
|
|
#include "sqlite3.h"
|
|
#define OPENSSL_API_COMPAT 0x10101000L
|
|
|
|
#if !defined (Q_OS_ANDROID)
|
|
#define DESKTOP_BUILD
|
|
#endif
|
|
|
|
#if defined (Q_OS_LINUX) && !defined (Q_OS_ANDROID)
|
|
#define FK_USE_READLINE
|
|
#endif
|
|
|
|
// You may define FK_SERVER_ONLY with cmake .. -D...
|
|
#ifndef FK_SERVER_ONLY
|
|
#include <QApplication>
|
|
#include <QtQml>
|
|
#endif
|
|
|
|
#endif // _PCH_H
|