BTRFS: Implement BTree::Path and change _Find.
[haiku.git] / src / apps / powerstatus / APMDriverInterface.h
blobfa5488fbe392b4f495e5e236dfc9eaab11cd53b3
1 /*
2 * Copyright 2009-2015, Haiku, Inc. All Rights Reserved.
3 * Distributed under the terms of the MIT License.
5 * Authors:
6 * Clemens Zeidler, haiku@clemens-zeidler.de
7 */
8 #ifndef APM_DRIVER_INTERFACE_H
9 #define APM_DRIVER_INTERFACE_H
12 #include "DriverInterface.h"
15 class APMDriverInterface : public PowerStatusDriverInterface {
16 public:
17 virtual ~APMDriverInterface();
19 virtual status_t Connect();
20 virtual status_t GetBatteryInfo(int32 index, battery_info* info);
21 virtual status_t GetExtendedBatteryInfo(int32 index,
22 acpi_extended_battery_info* info);
23 virtual int32 GetBatteryCount();
25 protected:
26 virtual void _WatchPowerStatus();
30 #endif // APM_DRIVER_INTERFACE_H