Add missing #ifdef CHATTERINO_HAVE_PLUGINS

This commit is contained in:
Mm2PL 2023-02-07 23:00:17 +01:00
parent bc0d30615a
commit 26a5a24eea
No known key found for this signature in database
GPG key ID: 94AC9B80EFA15ED9

View file

@ -1,16 +1,17 @@
#pragma once
#include "Application.hpp"
#include "controllers/commands/CommandController.hpp"
#ifdef CHATTERINO_HAVE_PLUGINS
# include "Application.hpp"
# include "controllers/commands/CommandController.hpp"
#include <magic_enum.hpp>
#include <QDir>
#include <QJsonArray>
#include <QJsonObject>
#include <QString>
#include <semver/semver.hpp>
# include <magic_enum.hpp>
# include <QDir>
# include <QJsonArray>
# include <QJsonObject>
# include <QString>
# include <semver/semver.hpp>
#include <set>
#include <vector>
# include <set>
# include <vector>
struct lua_State;
@ -143,3 +144,4 @@ private:
friend class PluginController;
};
} // namespace chatterino
#endif