--- nono/vm/event.h 2026/04/29 17:05:17 1.1.1.10 +++ nono/vm/event.h 2026/04/29 17:05:29 1.1.1.11 @@ -10,7 +10,7 @@ #pragma once -#include "header.h" +#include "nono.h" // ユーザ定義リテラルを使ったサフィックス @@ -72,14 +72,9 @@ class Event { public: Event(); - Event(Device *dev_); + explicit Event(Device *dev_); ~Event(); - // このイベントを登録する - void Regist(); - // このイベントを登録する (名前を同時に設定する) - void Regist(const std::string& name_); - // このイベントが動作中なら true を返す bool IsRunning() const { return active;