chiark / gitweb /
Prep v231: Reorganize elogind specific code in login/logind-action.c
[elogind.git] / src / login / logind-action.h
index 33c3021..d33b9de 100644 (file)
@@ -36,6 +36,9 @@ typedef enum HandleAction {
 #include "logind-inhibit.h"
 #include "logind.h"
 
+/// Additional includes needed by elogind
+#include "elogind-action.h"
+
 int manager_handle_action(
                 Manager *m,
                 InhibitWhat inhibit_key,
@@ -43,8 +46,6 @@ int manager_handle_action(
                 bool ignore_inhibited,
                 bool is_edge);
 
-int shutdown_or_sleep(Manager *m, HandleAction action);
-
 const char* handle_action_to_string(HandleAction h) _const_;
 HandleAction handle_action_from_string(const char *s) _pure_;