summaryrefslogtreecommitdiff
path: root/applets/power-profiles/gpm-common.h
diff options
context:
space:
mode:
authorVictor Kareh <[email protected]>2025-04-04 20:40:55 -0400
committerVictor Kareh <[email protected]>2025-04-04 20:49:55 -0400
commit6560b675e497e44b7b354c77aecccd29f14e8289 (patch)
treef5ed343324d5820bb17dc7e72cc66d2e0f5cb962 /applets/power-profiles/gpm-common.h
parenta0aeec575ba18d1101d783d640999df117daf28f (diff)
downloadmate-power-manager-power-profiles-applet.tar.bz2
mate-power-manager-power-profiles-applet.tar.xz
applets: Add new power-profiles appletpower-profiles-applet
This applet allows the user to set the active power profile (power-saver, balanced, performance). It's compatible with the power-profiles-daemon and tuned, which are the same DBUS interfaces that GNOME relies on for power profiles.
Diffstat (limited to 'applets/power-profiles/gpm-common.h')
-rw-r--r--applets/power-profiles/gpm-common.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/applets/power-profiles/gpm-common.h b/applets/power-profiles/gpm-common.h
new file mode 100644
index 0000000..d9544c1
--- /dev/null
+++ b/applets/power-profiles/gpm-common.h
@@ -0,0 +1,37 @@
+/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*-
+ *
+ * Copyright (C) 2005-2007 Richard Hughes <[email protected]>
+ * Copyright (C) 2012-2025 MATE Developers
+ *
+ * Licensed under the GNU General Public License Version 2
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY 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, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
+#ifndef __GPMCOMMON_H
+#define __GPMCOMMON_H
+
+#include <glib.h>
+
+G_BEGIN_DECLS
+
+void gpm_help_display (const gchar *link_id);
+#ifdef EGG_TEST
+void gpm_common_test (gpointer data);
+#endif
+
+G_END_DECLS
+
+#endif /* __GPMCOMMON_H */