chiark / gitweb /
tree-wide: remove Emacs lines from all files
[elogind.git] / src / login / logind-action.h
index 5269237c61566fcc6e0ff9c0f9f3a9080268c049..33c302112e2e6834f41f357d5fc947cae27b8238 100644 (file)
@@ -1,5 +1,3 @@
-/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
-
 #pragma once
 
 /***
@@ -35,6 +33,7 @@ typedef enum HandleAction {
         _HANDLE_ACTION_INVALID = -1
 } HandleAction;
 
+#include "logind-inhibit.h"
 #include "logind.h"
 
 int manager_handle_action(
@@ -44,7 +43,7 @@ int manager_handle_action(
                 bool ignore_inhibited,
                 bool is_edge);
 
-int shutdown_or_sleep(HandleAction action);
+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_;