diff options
author | David <dbphillipsnz@gmail.com> | 2014-05-10 14:10:41 +1200 |
---|---|---|
committer | David <dbphillipsnz@gmail.com> | 2014-05-10 14:10:41 +1200 |
commit | c6b5a3477b87ced86356813a578c19f6b345008b (patch) | |
tree | 5c7355d973296c1a5981319f712a3d0f9928dcca /defaults.c | |
parent | 68c8dfd0de28f61f27b20de271d2776219a30895 (diff) | |
parent | e05ece0acdc38ecf16e3ed2088a557248537d2a7 (diff) | |
download | paramano-c6b5a3477b87ced86356813a578c19f6b345008b.tar.xz |
Merge branch 'reload-config' Conflicts: Makefile
Diffstat (limited to 'defaults.c')
-rw-r--r-- | defaults.c | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -23,4 +23,16 @@ char* _DEFAULT_FREQ; char* _DEFAULT_PROG; char* _DEFAULT_BAT_GOV; char* _DEFAULT_AC_GOV; +bool _DEFAULT_SHOW_BATTERY = TRUE; bool _DEFAULT_USE_SUDO = FALSE; + +void defaults_init() +{ + _DEFAULT_GOV = NULL; + _DEFAULT_FREQ = NULL; + _DEFAULT_PROG = NULL; + _DEFAULT_BAT_GOV = NULL; + _DEFAULT_AC_GOV = NULL; + _DEFAULT_SHOW_BATTERY = TRUE; + _DEFAULT_USE_SUDO = FALSE; +} |