mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-22 19:20:48 +00:00
Add #errors in some header files that need ENABLE_SCRIPTING defined
This commit is contained in:
parent
d49679c361
commit
c4ed121efc
@ -8,6 +8,10 @@
|
||||
#define APP_SCRIPTING_H_INCLUDED
|
||||
#pragma once
|
||||
|
||||
#ifndef ENABLE_SCRIPTING
|
||||
#error ENABLE_SCRIPTING must be defined
|
||||
#endif
|
||||
|
||||
#include "doc/object_id.h"
|
||||
#include "script/engine.h"
|
||||
|
||||
|
@ -8,6 +8,10 @@
|
||||
#define APP_SHELL_H_INCLUDED
|
||||
#pragma once
|
||||
|
||||
#ifndef ENABLE_SCRIPTING
|
||||
#error ENABLE_SCRIPTING must be defined
|
||||
#endif
|
||||
|
||||
namespace script {
|
||||
class Engine;
|
||||
}
|
||||
|
@ -8,6 +8,10 @@
|
||||
#define APP_UI_DEVCONSOLE_VIEW_H_INCLUDED
|
||||
#pragma once
|
||||
|
||||
#ifndef ENABLE_SCRIPTING
|
||||
#error ENABLE_SCRIPTING must be defined
|
||||
#endif
|
||||
|
||||
#include "app/script/app_scripting.h"
|
||||
#include "app/ui/tabs.h"
|
||||
#include "app/ui/workspace_view.h"
|
||||
|
@ -19,7 +19,6 @@
|
||||
#include "app/pref/preferences.h"
|
||||
#include "app/ui/color_bar.h"
|
||||
#include "app/ui/context_bar.h"
|
||||
#include "app/ui/devconsole_view.h"
|
||||
#include "app/ui/document_view.h"
|
||||
#include "app/ui/editor/editor.h"
|
||||
#include "app/ui/editor/editor_view.h"
|
||||
@ -43,6 +42,10 @@
|
||||
#include "ui/system.h"
|
||||
#include "ui/view.h"
|
||||
|
||||
#ifdef ENABLE_SCRIPTING
|
||||
#include "app/ui/devconsole_view.h"
|
||||
#endif
|
||||
|
||||
namespace app {
|
||||
|
||||
using namespace ui;
|
||||
|
Loading…
x
Reference in New Issue
Block a user