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:
parent
c89f4b5d02
commit
087f28d726
22 changed files with 2494 additions and 0 deletions
18
include/shell-command.h
Normal file
18
include/shell-command.h
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue