[common/client] platform: abstract runtime services

This commit is contained in:
Geoffrey McRae
2026-09-12 12:51:17 +10:00
parent a7d2e4592f
commit eabc56a6de
49 changed files with 4064 additions and 940 deletions

View File

@@ -27,6 +27,7 @@
#include "common/types.h"
#include "common/debug.h"
#include "interface/clipboard.h"
#include "interface/event_source.h"
typedef enum LG_DSProperty
{
@@ -103,18 +104,6 @@ LG_DSWaitFrameResult;
#define LG_POINTER_COUNT (LG_POINTER_NOT_ALLOWED + 1)
typedef void (*LG_DSEventCallback)(void * opaque);
typedef struct LG_DSEventSource
{
/* The callback must be nonblocking and tolerate spurious calls. The caller
* retains ownership of fd and opaque until display-server shutdown. */
int fd;
LG_DSEventCallback callback;
void * opaque;
}
LG_DSEventSource;
typedef struct LG_DSInitParams
{
const char * title;