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