diff options
author | Arjan van de Ven <arjan@linux.intel.com> | 2010-09-24 06:59:51 -0700 |
---|---|---|
committer | Arjan van de Ven <arjan@linux.intel.com> | 2010-09-24 06:59:51 -0700 |
commit | 346e62f474bde7d20a72f753e329a17e76fef348 (patch) | |
tree | c6f21a323282a05726f42ae4b4fd1df6c9b99d1d /devices/device.h | |
parent | c0511482fbdec907996a10d9722304c9aff0a8cc (diff) | |
download | powertop-346e62f474bde7d20a72f753e329a17e76fef348.tar.gz |
add pgup/pgdn control
add human readable names for USB device
Diffstat (limited to 'devices/device.h')
-rw-r--r-- | devices/device.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/devices/device.h b/devices/device.h index 62d7941..03a7a61 100644 --- a/devices/device.h +++ b/devices/device.h @@ -19,6 +19,8 @@ public: virtual const char * class_name(void) { return "abstract device";}; virtual const char * device_name(void) { return "abstract device";}; + virtual const char * human_name(void) { return device_name(); }; + virtual double power_usage(struct result_bundle *results, struct parameter_bundle *bundle) { return 0.0; }; virtual bool show_in_list(void) {return true;}; |