Laptop battery indicator
Bug #661446 reported by
RJ Skerry-Ryan
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mixxx |
Fix Released
|
Wishlist
|
Till Hofmann |
Bug Description
Add a widget to show the laptop battery level.
Changed in mixxx: | |
status: | New → Confirmed |
importance: | Undecided → Wishlist |
tags: | added: easy weekend |
Changed in mixxx: | |
assignee: | nobody → Till Hofmann (hofmanntill) |
status: | Confirmed → In Progress |
Changed in mixxx: | |
milestone: | 1.12.0 → 1.13.0 |
milestone: | 1.13.0 → 1.12.0 |
Changed in mixxx: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I have an OS-specific class (inherited from an abstract class to define the interface), what's the best way to include it? I could
a) simply use #ifdef and name the classes specifically (e.g. ClassALinux) (this is basically the Abstract Factory pattern)
b) name all classes the same and put it in a OS-specific folder (e.g. linux/ClassA.*) and include the right class using the flags in depends.py,
or c) ....
I didn't find any example in the existing code, what's the preferred way?
(I asked this question in IRC some days ago but I didn't get an answer so I figured I'd try here instead)