btrfs: Attempt to fix GCC2 build.
[haiku.git] / src / servers / power / power_monitor.h
blob6c9c5f31fdfeed1ca53334a7a172ad078a59fa31
1 /*
2 * Copyright 2013-2014, Haiku, Inc.
3 * Distributed under the terms of the MIT license.
5 * Authors:
6 * Jérôme Duval, korli@users.berlios.de.
7 * Rene Gollent, rene@gollent.com.
8 */
9 #ifndef _POWER_MONITOR_H
10 #define _POWER_MONITOR_H
13 #include <set>
16 class PowerMonitor {
17 public:
18 virtual ~PowerMonitor() {};
20 virtual void HandleEvent(int fd) = 0;
22 virtual const std::set<int>&
23 FDs() const = 0;
27 #endif // _POWER_MONITOR_H