Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I16f88f649bddad572e0d44cee7e0edec6a6a6964
18 lines
419 B
C
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
|