Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
Solid
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
5
Merge Requests
5
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Frameworks
Solid
Commits
e313149b
Commit
e313149b
authored
Feb 05, 2014
by
Harald Fernengel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix build on Mac OS X
parent
5e87df28
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
src/solid/backends/iokit/iokitbattery.h
src/solid/backends/iokit/iokitbattery.h
+8
-0
No files found.
src/solid/backends/iokit/iokitbattery.h
View file @
e313149b
...
...
@@ -52,7 +52,15 @@ public:
Solid
::
Battery
::
ChargeState
chargeState
()
const
;
// ### the ones below are TODO
Solid
::
Battery
::
Technology
technology
()
const
{
return
Solid
::
Battery
::
UnknownTechnology
;
}
double
energy
()
const
{
return
0.0
;
}
double
energyRate
()
const
{
return
0.0
;
}
double
voltage
()
const
{
return
0.0
;
}
Q_SIGNALS:
void
energyChanged
(
double
energy
,
const
QString
&
udi
);
void
energyRateChanged
(
double
energyRate
,
const
QString
&
udi
);
void
chargePercentChanged
(
int
value
,
const
QString
&
udi
);
void
capacityChanged
(
int
value
,
const
QString
&
udi
);
void
chargeStateChanged
(
int
newState
,
const
QString
&
udi
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment