mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-08-18 07:55:06 +00:00
20 lines
468 B
C
20 lines
468 B
C
// SPDX-License-Identifier: Apache-2.0
|
|
#pragma once
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/** Lifecycle state of a running (or previously running) app instance. Every app instance owns
|
|
* its own task for its entire lifetime - there is no "saved, task given up" state. */
|
|
typedef enum {
|
|
APP_INSTANCE_STATE_STARTING,
|
|
APP_INSTANCE_STATE_ACTIVE,
|
|
APP_INSTANCE_STATE_STOPPING,
|
|
APP_INSTANCE_STATE_STOPPED,
|
|
} AppInstanceState;
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|