1 /* 2 * Copyright 2013, Haiku, Inc. 3 * Distributed under the terms of the MIT license. 4 * 5 * Authors: 6 * Jérôme Duval, korli@users.berlios.de. 7 */ 8 #ifndef _POWER_MONITOR_H 9 #define _POWER_MONITOR_H 10 11 12 class PowerMonitor { 13 public: 14 virtual ~PowerMonitor() {}; 15 16 virtual void HandleEvent() = 0; 17 18 virtual int FD() const = 0; 19 }; 20 21 22 #endif // _POWER_MONITOR_H 23