feat(action): 重构 action 接口为函数指针表并实现 quit 和 raise_or_run
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
#pragma once
|
||||
|
||||
#include "core/runtime.h"
|
||||
|
||||
void spawn(const char *command);
|
||||
void quit(runtime_t *runtime, bool restart);
|
||||
void raise_or_run(
|
||||
zdwm_runtime_t *runtime,
|
||||
const char *class_name,
|
||||
const char *command
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user