chiark / gitweb /
tree-wide: sort includes in *.h
[elogind.git] / src / login / logind-button.h
index e85aa81d0a8e75b5fc6ad310111a43c8918e5343..80d93c7e6bdf691d4ffafbe803524ee7cd9d6479 100644 (file)
@@ -23,8 +23,6 @@
 
 typedef struct Button Button;
 
-#include "list.h"
-#include "util.h"
 #include "logind.h"
 
 struct Button {
@@ -38,10 +36,11 @@ struct Button {
         int fd;
 
         bool lid_closed;
+        bool docked;
 };
 
 Button* button_new(Manager *m, const char *name);
 void button_free(Button*b);
 int button_open(Button *b);
 int button_set_seat(Button *b, const char *sn);
-int button_check_lid(Button *b);
+int button_check_switches(Button *b);