Extra2D/include/extra2d.h

60 lines
1.5 KiB
C

#pragma once
// Extra2D v3.0 - 统一入口头文件
// 包含所有公共 API
// Types
#include <types/base/types.h>
#include <types/const/priority.h>
#include <types/ptr/intrusive_ptr.h>
#include <types/ptr/ref_counted.h>
// Math
#include <types/math/color.h>
#include <types/math/rect.h>
#include <types/math/size.h>
#include <types/math/transform.h>
#include <types/math/vec2.h>
#include <types/math/vec3.h>
// Context (核心上下文)
#include <context/context.h>
// Module System (新架构 - 基于事件总线)
#include <module/imodule.h>
#include <module/module_registry.h>
// Plugin System (新架构 - 基于事件总线)
#include <plugin/iplugin.h>
#include <plugin/plugin_loader.h>
// Event System
#include <event/event_bus.h>
#include <event/event_bus_macros.h>
#include <event/events.h>
// Platform
#include <platform/sdl2.h>
// Utils
#include <utils/logger.h>
#include <utils/random.h>
// Config
#include <config/app_config.h>
#include <config/window_config.h>
// Application
#include <app/application.h>
// 兼容层 - 旧的头文件(将在后续版本中移除)
// #include <core/director.h> // 已废弃,使用 Context
// #include <module/module.h> // 已废弃,使用 imodule.h
// #include <module/module_manager.h> // 已废弃,使用 module_registry.h
// #include <plugin/plugin.h> // 已废弃,使用 iplugin.h
// #include <plugin/plugin_manager.h> // 已废弃,使用 plugin_loader.h
#ifdef __SWITCH__
#include <switch.h>
#endif