mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-12-26 23:05:05 +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);
|