feat: allow applets to be shared modules
This commit is contained in:
@@ -190,6 +190,18 @@ SvgIcon* desktop_builtin_menu_icon(DesktopState* ds, DesktopBuiltinId id);
|
||||
void desktop_launch_builtin(DesktopState* ds, DesktopBuiltinId id);
|
||||
void desktop_lock_screen(DesktopState* ds);
|
||||
|
||||
struct DesktopSharedAppletEntry {
|
||||
char id[48];
|
||||
char label[64];
|
||||
char icon_path[128];
|
||||
char library_path[128];
|
||||
};
|
||||
|
||||
int desktop_list_system_configuration_applets(DesktopState* ds,
|
||||
DesktopSharedAppletEntry* out,
|
||||
int max_entries);
|
||||
bool desktop_launch_shared_applet(DesktopState* ds, const char* lib_path);
|
||||
|
||||
// ============================================================================
|
||||
// Forward declarations for desktop launch entry points
|
||||
// ============================================================================
|
||||
|
||||
Reference in New Issue
Block a user