mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-12-23 19:23:09 +00:00
080324f7e0
* Desktop,Rpc: desktop status subscription * Desktop,RPC: properly handle unsubscribe Co-authored-by: Sergey Gavrilov <who.just.the.doctor@gmail.com>
17 lines
307 B
C
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);
|