diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2018-03-12 14:34:44 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2018-03-12 18:33:03 +0100 |
commit | 422443fc5c653bfd68aad90a2556a62f1edf1333 (patch) | |
tree | 72c941cdab3684b982da1b6e4053aaf0623a2821 /src/utils.h | |
parent | 4d9589837e532df1015f7579439703c0af0164ca (diff) | |
download | ayatana-indicator-power-422443fc5c653bfd68aad90a2556a62f1edf1333.tar.gz ayatana-indicator-power-422443fc5c653bfd68aad90a2556a62f1edf1333.tar.bz2 ayatana-indicator-power-422443fc5c653bfd68aad90a2556a62f1edf1333.zip |
Make URL dispatcher build-dependency optional and handle battery settings request appropriately.
Diffstat (limited to 'src/utils.h')
-rw-r--r-- | src/utils.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/utils.h b/src/utils.h new file mode 100644 index 0000000..744536c --- /dev/null +++ b/src/utils.h @@ -0,0 +1,26 @@ +/* + * Copytight 2018 Mike Gabriel <mike.gabriel@das-netzwerkteam.de> + * + * This program is free software: you can redistribute it and/or modify it + * under the terms of the GNU General Public License version 3, as published + * by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranties of + * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR + * PURPOSE. See the GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ + +#ifndef __INDICATOR_POWER_UTILS_H__ +#define __INDICATOR_POWER_UTILS_H__ + +#include <glib.h> +#include <string.h> + +void execute_command (const gchar * cmd); +void utils_handle_settings_request(void); + +#endif /* __INDICATOR_POWER_UTILS_H__ */ |