--- nono/vm/event.h 2026/04/29 17:05:10 1.1.1.9 +++ nono/vm/event.h 2026/04/29 17:05:17 1.1.1.10 @@ -10,7 +10,7 @@ #pragma once -#include "device.h" +#include "header.h" // ユーザ定義リテラルを使ったサフィックス @@ -55,6 +55,7 @@ static inline constexpr uint64 operator" } // コールバック関数の型 +class Device; class Event; using EventCallback_t = void (Device::*)(Event&); #define ToEventCallback(f) static_cast(f)