mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2025-06-24 06:27:22 +00:00
fix #includes
This commit is contained in:
parent
d4e9a6177b
commit
cc6f995795
@ -4,12 +4,13 @@
|
|||||||
|
|
||||||
#include <QCoro/QCoroTask> // IWYU pragma: keep
|
#include <QCoro/QCoroTask> // IWYU pragma: keep
|
||||||
|
|
||||||
#include <QJsonParseError>
|
#include <QNetworkAccessManager>
|
||||||
#include <QNetworkReply>
|
#include <QNetworkReply>
|
||||||
#include <QString>
|
#include <QString>
|
||||||
#include <QUrl>
|
#include <QUrl>
|
||||||
|
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
|
#include <exception>
|
||||||
#include <expected>
|
#include <expected>
|
||||||
#include <utility>
|
#include <utility>
|
||||||
#include <variant>
|
#include <variant>
|
||||||
|
@ -4,11 +4,12 @@
|
|||||||
# include <boost/describe/class.hpp>
|
# include <boost/describe/class.hpp>
|
||||||
# include <boost/describe/enum.hpp>
|
# include <boost/describe/enum.hpp>
|
||||||
#endif
|
#endif
|
||||||
#include <boost/json.hpp>
|
#include <boost/json.hpp> // IWYU pragma: keep
|
||||||
|
|
||||||
#include <QString>
|
#include <QString>
|
||||||
#include <QtTypes>
|
#include <QtTypes>
|
||||||
|
|
||||||
|
#include <optional>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,7 +1,8 @@
|
|||||||
#include "json-helpers.h"
|
#include "json-helpers.h"
|
||||||
|
|
||||||
#include <boost/json.hpp>
|
#include <boost/json.hpp> // IWYU pragma: keep
|
||||||
|
|
||||||
|
#include <QByteArray>
|
||||||
#include <QString>
|
#include <QString>
|
||||||
|
|
||||||
namespace json = boost::json;
|
namespace json = boost::json;
|
||||||
|
@ -1,14 +1,13 @@
|
|||||||
#include "ollama-client.h"
|
#include "ollama-client.h"
|
||||||
|
|
||||||
#include "json-helpers.h"
|
#include "json-helpers.h" // IWYU pragma: keep
|
||||||
#include "qt-json-stream.h"
|
#include "qt-json-stream.h"
|
||||||
|
|
||||||
#include <QCoro/QCoroIODevice> // IWYU pragma: keep
|
#include <QCoro/QCoroIODevice> // IWYU pragma: keep
|
||||||
#include <QCoro/QCoroNetworkReply> // IWYU pragma: keep
|
#include <QCoro/QCoroNetworkReply> // IWYU pragma: keep
|
||||||
#include <boost/json.hpp>
|
#include <boost/json.hpp> // IWYU pragma: keep
|
||||||
|
|
||||||
#include <QByteArray>
|
#include <QByteArray>
|
||||||
#include <QNetworkAccessManager>
|
|
||||||
#include <QNetworkRequest>
|
#include <QNetworkRequest>
|
||||||
|
|
||||||
#include <coroutine>
|
#include <coroutine>
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
#include "qt-json-stream.h"
|
#include "qt-json-stream.h"
|
||||||
|
|
||||||
|
#include <QtPreprocessorSupport>
|
||||||
|
|
||||||
|
#include <cstddef>
|
||||||
|
|
||||||
|
|
||||||
namespace json = boost::json;
|
namespace json = boost::json;
|
||||||
|
|
||||||
|
@ -1,11 +1,12 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <boost/json.hpp>
|
#include <boost/json.hpp> // IWYU pragma: keep
|
||||||
|
|
||||||
#include <QIODevice>
|
#include <QIODevice>
|
||||||
#include <QObject>
|
|
||||||
#include <QtTypes>
|
#include <QtTypes>
|
||||||
|
|
||||||
|
class QObject;
|
||||||
|
|
||||||
|
|
||||||
namespace gpt4all::backend {
|
namespace gpt4all::backend {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user