事件循环框架
This commit is contained in:
@@ -8,6 +8,7 @@ add_executable(${TEST_APP_NAME}
|
||||
${SOURCE_DIR}/config/loader.c
|
||||
${SOURCE_DIR}/config/runtime_config.c
|
||||
${SOURCE_DIR}/backend/x11/backend.c
|
||||
${SOURCE_DIR}/backend/x11/event.c
|
||||
${SOURCE_DIR}/core/layout.c
|
||||
${SOURCE_DIR}/core/runtime.c
|
||||
${SOURCE_DIR}/core/state.c
|
||||
|
||||
@@ -36,6 +36,7 @@ int main(void) {
|
||||
runtime_t runtime = {0};
|
||||
|
||||
bootstrap(&runtime);
|
||||
runtime_run(&runtime);
|
||||
runtime_shutdown(&runtime);
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user