2 * Copyright 2005-2014, Haiku, Inc.
3 * Distributed under the terms of the MIT license.
9 #ifndef _POWER_BUTTON_MONITOR_H
10 #define _POWER_BUTTON_MONITOR_H
13 #include "power_monitor.h"
16 class PowerButtonMonitor
: public PowerMonitor
{
19 virtual ~PowerButtonMonitor();
21 virtual void HandleEvent(int fd
);
23 virtual const std::set
<int>&
24 FDs() const { return fFDs
; }
30 #endif // _POWER_BUTTON_MONITOR_H