mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-12-18 16:53:45 +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);
|