mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-11-12 23:07:21 +00:00
[common/client] platform: abstract runtime services
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user