unleashed-firmware/applications/services/desktop/desktop.h
あく 080324f7e0
[FL-3315] Desktop,Rpc: desktop status subscription (#2696)
* Desktop,Rpc: desktop status subscription
* Desktop,RPC: properly handle unsubscribe

Co-authored-by: Sergey Gavrilov <who.just.the.doctor@gmail.com>
2023-05-25 23:22:31 +09:00

17 lines
307 B
C

#pragma once
#include <furi.h>
typedef struct Desktop Desktop;
#define RECORD_DESKTOP "desktop"
bool desktop_api_is_locked(Desktop* instance);
void desktop_api_unlock(Desktop* instance);
typedef struct {
bool locked;
} DesktopStatus;
FuriPubSub* desktop_api_get_status_pubsub(Desktop* instance);