meta: restructure project for a modular architechture for more interfaces

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I16f88f649bddad572e0d44cee7e0edec6a6a6964
This commit is contained in:
raf 2026-04-13 11:23:40 +03:00
commit 087f28d726
Signed by: NotAShelf
GPG key ID: 29D95B64378DB4BF
22 changed files with 2494 additions and 0 deletions

18
include/shell-command.h Normal file
View file

@ -0,0 +1,18 @@
#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