~codygarver/+junk/gnome-builder

« back to all changes in this revision

Viewing changes to libide/ide-battery-monitor.h

  • Committer: Cody Garver
  • Date: 2015-11-21 00:50:38 UTC
  • Revision ID: cody@elementary.io-20151121005038-8wygis63zt0ljqlz
Import https://github.com/chergert/gnome-builder 06e3158922a02a27f4abca250d70aa7b2970e06a

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* ide-battery-monitor.h
 
2
 *
 
3
 * Copyright (C) 2015 Christian Hergert <christian@hergert.me>
 
4
 *
 
5
 * This program is free software: you can redistribute it and/or modify
 
6
 * it under the terms of the GNU General Public License as published by
 
7
 * the Free Software Foundation, either version 3 of the License, or
 
8
 * (at your option) any later version.
 
9
 *
 
10
 * This program is distributed in the hope that it will be useful,
 
11
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
12
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
13
 * GNU General Public License for more details.
 
14
 *
 
15
 * You should have received a copy of the GNU General Public License
 
16
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
17
 */
 
18
 
 
19
#ifndef IDE_BATTERY_MONITOR_H
 
20
#define IDE_BATTERY_MONITOR_H
 
21
 
 
22
#include <glib.h>
 
23
 
 
24
G_BEGIN_DECLS
 
25
 
 
26
gdouble  ide_battery_monitor_get_energy_percentage (void);
 
27
gboolean ide_battery_monitor_get_on_battery        (void);
 
28
gboolean ide_battery_monitor_get_should_conserve   (void);
 
29
 
 
30
G_END_DECLS
 
31
 
 
32
#endif /* IDE_BATTERY_MONITOR_H */