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