2026-02-25 06:23:53 +08:00
|
|
|
#pragma once
|
|
|
|
|
|
2026-02-27 20:46:16 +08:00
|
|
|
// Extra2D v3.0 - 统一入口头文件
|
2026-02-25 06:23:53 +08:00
|
|
|
// 包含所有公共 API
|
|
|
|
|
|
2026-02-27 20:46:16 +08:00
|
|
|
// 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>
|
2026-02-26 01:00:58 +08:00
|
|
|
|
2026-02-28 20:56:11 +08:00
|
|
|
// Context (核心上下文)
|
|
|
|
|
#include <context/context.h>
|
2026-02-26 01:00:58 +08:00
|
|
|
|
2026-02-28 20:56:11 +08:00
|
|
|
// Module System (新架构 - 基于事件总线)
|
|
|
|
|
#include <module/imodule.h>
|
|
|
|
|
#include <module/module_registry.h>
|
2026-02-28 04:44:56 +08:00
|
|
|
|
2026-02-28 20:56:11 +08:00
|
|
|
// Plugin System (新架构 - 基于事件总线)
|
|
|
|
|
#include <plugin/iplugin.h>
|
|
|
|
|
#include <plugin/plugin_loader.h>
|
2026-02-28 04:44:56 +08:00
|
|
|
|
2026-02-28 20:56:11 +08:00
|
|
|
// Event System
|
2026-02-28 04:44:56 +08:00
|
|
|
#include <event/event_bus.h>
|
2026-02-28 20:56:11 +08:00
|
|
|
#include <event/event_bus_macros.h>
|
2026-02-28 04:44:56 +08:00
|
|
|
#include <event/events.h>
|
2026-02-27 22:59:17 +08:00
|
|
|
|
2026-02-25 06:23:53 +08:00
|
|
|
// Utils
|
2026-02-26 01:00:58 +08:00
|
|
|
#include <utils/logger.h>
|
2026-02-25 06:23:53 +08:00
|
|
|
#include <utils/random.h>
|
2026-02-26 01:00:58 +08:00
|
|
|
|
2026-02-28 23:35:34 +08:00
|
|
|
// Config
|
|
|
|
|
#include <config/app_config.h>
|
|
|
|
|
#include <config/window_config.h>
|
|
|
|
|
|
2026-02-25 06:23:53 +08:00
|
|
|
// Application
|
|
|
|
|
#include <app/application.h>
|
|
|
|
|
|
|
|
|
|
#ifdef __SWITCH__
|
|
|
|
|
#include <switch.h>
|
2026-02-27 19:12:24 +08:00
|
|
|
#endif
|