sin/include/shell-command.h
NotAShelf 087f28d726
meta: restructure project for a modular architechture for more interfaces
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I16f88f649bddad572e0d44cee7e0edec6a6a6964
2026-04-13 13:39:49 +03:00

18 lines
419 B
C

#ifndef SHELL_COMMAND_H
#define SHELL_COMMAND_H
#include "inhibit-interface.h"
typedef struct {
char *screensaver_inhibit;
char *screensaver_uninhibit;
char *suspend_inhibit;
char *suspend_uninhibit;
char *any_inhibit;
char *any_uninhibit;
} ShellCommandConfig;
InhibitInterface *shell_command_create(const ShellCommandConfig *config);
void shell_command_config_free(ShellCommandConfig *config);
#endif