/* power.h generated by valac 0.56.18-dirty, the Vala compiler, do not modify */

#ifndef __SRC_POWER_H__
#define __SRC_POWER_H__

#include <glib-object.h>
#include <gio/gio.h>
#include <glib.h>
#include <float.h>
#include <math.h>
#include <stdlib.h>
#include <string.h>
#include <switchboard.h>
#include <gtk/gtk.h>
#include <gmodule.h>

G_BEGIN_DECLS

#if !defined(VALA_EXTERN)
#if defined(_MSC_VER)
#define VALA_EXTERN __declspec(dllexport) extern
#elif __GNUC__ >= 4
#define VALA_EXTERN __attribute__((visibility("default"))) extern
#else
#define VALA_EXTERN extern
#endif
#endif
#define GETTEXT_PACKAGE "io.elementary.settings.power"
#define LOCALEDIR "/usr/share/locale"
#define POWER_LOGIND_HELPER_NAME "io.elementary.logind.helper"
#define POWER_LOGIND_HELPER_OBJECT_PATH "/io/elementary/logind/helper"
#define POWER_POWER_PROFILES_DAEMON_NAME "net.hadess.PowerProfiles"
#define POWER_POWER_PROFILES_DAEMON_PATH "/net/hadess/PowerProfiles"

#define POWER_TYPE_UPOWER_DEVICE (power_upower_device_get_type ())
#define POWER_UPOWER_DEVICE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), POWER_TYPE_UPOWER_DEVICE, PowerUpowerDevice))
#define POWER_IS_UPOWER_DEVICE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), POWER_TYPE_UPOWER_DEVICE))
#define POWER_UPOWER_DEVICE_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), POWER_TYPE_UPOWER_DEVICE, PowerUpowerDeviceIface))

typedef struct _PowerUpowerDevice PowerUpowerDevice;
typedef struct _PowerUpowerDeviceIface PowerUpowerDeviceIface;

#define POWER_TYPE_UPOWER_DEVICE_PROXY (power_upower_device_proxy_get_type ())
typedef enum  {
	POWER_DEVICE_STATE_UNKNOWN = 0,
	POWER_DEVICE_STATE_CHARGING = 1,
	POWER_DEVICE_STATE_DISCHARGING = 2,
	POWER_DEVICE_STATE_EMPTY = 3,
	POWER_DEVICE_STATE_FULLY_CHARGED = 4,
	POWER_DEVICE_STATE_PENDING_CHARGE = 5,
	POWER_DEVICE_STATE_PENDING_DISCHARGE = 6
} PowerDeviceState;

#define POWER_DEVICE_TYPE_STATE (power_device_state_get_type ())
typedef enum  {
	POWER_DEVICE_TYPE_UNKNOWN = 0,
	POWER_DEVICE_TYPE_LINE_POWER = 1,
	POWER_DEVICE_TYPE_BATTERY = 2,
	POWER_DEVICE_TYPE_UPS = 3,
	POWER_DEVICE_TYPE_MONITOR = 4,
	POWER_DEVICE_TYPE_MOUSE = 5,
	POWER_DEVICE_TYPE_KEYBOARD = 6,
	POWER_DEVICE_TYPE_PDA = 7,
	POWER_DEVICE_TYPE_PHONE = 8,
	POWER_DEVICE_TYPE_MEDIA_PLAYER = 9,
	POWER_DEVICE_TYPE_TABLET = 10,
	POWER_DEVICE_TYPE_COMPUTER = 11,
	POWER_DEVICE_TYPE_GAMING_INPUT = 12,
	POWER_DEVICE_TYPE_PEN = 13
} PowerDeviceType;

#define POWER_DEVICE_TYPE_TYPE (power_device_type_get_type ())

#define POWER_TYPE_DEVICE (power_device_get_type ())
#define POWER_DEVICE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), POWER_TYPE_DEVICE, PowerDevice))
#define POWER_DEVICE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), POWER_TYPE_DEVICE, PowerDeviceClass))
#define POWER_IS_DEVICE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), POWER_TYPE_DEVICE))
#define POWER_IS_DEVICE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), POWER_TYPE_DEVICE))
#define POWER_DEVICE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), POWER_TYPE_DEVICE, PowerDeviceClass))

typedef struct _PowerDevice PowerDevice;
typedef struct _PowerDeviceClass PowerDeviceClass;
typedef struct _PowerDevicePrivate PowerDevicePrivate;

#define POWER_TYPE_LOGIND_HELPER (power_logind_helper_get_type ())
#define POWER_LOGIND_HELPER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), POWER_TYPE_LOGIND_HELPER, PowerLogindHelper))
#define POWER_LOGIND_HELPER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), POWER_TYPE_LOGIND_HELPER, PowerLogindHelperClass))
#define POWER_IS_LOGIND_HELPER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), POWER_TYPE_LOGIND_HELPER))
#define POWER_IS_LOGIND_HELPER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), POWER_TYPE_LOGIND_HELPER))
#define POWER_LOGIND_HELPER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), POWER_TYPE_LOGIND_HELPER, PowerLogindHelperClass))

typedef struct _PowerLogindHelper PowerLogindHelper;
typedef struct _PowerLogindHelperClass PowerLogindHelperClass;
typedef struct _PowerLogindHelperPrivate PowerLogindHelperPrivate;
typedef enum  {
	POWER_LOGIND_HELPER_ACTION_IGNORE,
	POWER_LOGIND_HELPER_ACTION_POWEROFF,
	POWER_LOGIND_HELPER_ACTION_LOCK,
	POWER_LOGIND_HELPER_ACTION_SUSPEND,
	POWER_LOGIND_HELPER_ACTION_HALT,
	POWER_LOGIND_HELPER_ACTION_UNKNOWN
} PowerLogindHelperAction;

#define POWER_LOGIND_HELPER_TYPE_ACTION (power_logind_helper_action_get_type ())

#define POWER_TYPE_LOGIND_HELPER_IFACE (power_logind_helper_iface_get_type ())
#define POWER_LOGIND_HELPER_IFACE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), POWER_TYPE_LOGIND_HELPER_IFACE, PowerLogindHelperIface))
#define POWER_IS_LOGIND_HELPER_IFACE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), POWER_TYPE_LOGIND_HELPER_IFACE))
#define POWER_LOGIND_HELPER_IFACE_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), POWER_TYPE_LOGIND_HELPER_IFACE, PowerLogindHelperIfaceIface))

typedef struct _PowerLogindHelperIface PowerLogindHelperIface;
typedef struct _PowerLogindHelperIfaceIface PowerLogindHelperIfaceIface;

#define POWER_TYPE_LOGIND_HELPER_IFACE_PROXY (power_logind_helper_iface_proxy_get_type ())

#define POWER_TYPE_MAIN_VIEW (power_main_view_get_type ())
#define POWER_MAIN_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), POWER_TYPE_MAIN_VIEW, PowerMainView))
#define POWER_MAIN_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), POWER_TYPE_MAIN_VIEW, PowerMainViewClass))
#define POWER_IS_MAIN_VIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), POWER_TYPE_MAIN_VIEW))
#define POWER_IS_MAIN_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), POWER_TYPE_MAIN_VIEW))
#define POWER_MAIN_VIEW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), POWER_TYPE_MAIN_VIEW, PowerMainViewClass))

typedef struct _PowerMainView PowerMainView;
typedef struct _PowerMainViewClass PowerMainViewClass;
typedef struct _PowerMainViewPrivate PowerMainViewPrivate;

#define POWER_TYPE_PLUG (power_plug_get_type ())
#define POWER_PLUG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), POWER_TYPE_PLUG, PowerPlug))
#define POWER_PLUG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), POWER_TYPE_PLUG, PowerPlugClass))
#define POWER_IS_PLUG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), POWER_TYPE_PLUG))
#define POWER_IS_PLUG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), POWER_TYPE_PLUG))
#define POWER_PLUG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), POWER_TYPE_PLUG, PowerPlugClass))

typedef struct _PowerPlug PowerPlug;
typedef struct _PowerPlugClass PowerPlugClass;
typedef struct _PowerPlugPrivate PowerPlugPrivate;

#define POWER_TYPE_POWER_MANAGER (power_power_manager_get_type ())
#define POWER_POWER_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), POWER_TYPE_POWER_MANAGER, PowerPowerManager))
#define POWER_POWER_MANAGER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), POWER_TYPE_POWER_MANAGER, PowerPowerManagerClass))
#define POWER_IS_POWER_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), POWER_TYPE_POWER_MANAGER))
#define POWER_IS_POWER_MANAGER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), POWER_TYPE_POWER_MANAGER))
#define POWER_POWER_MANAGER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), POWER_TYPE_POWER_MANAGER, PowerPowerManagerClass))

typedef struct _PowerPowerManager PowerPowerManager;
typedef struct _PowerPowerManagerClass PowerPowerManagerClass;
typedef struct _PowerPowerManagerPrivate PowerPowerManagerPrivate;

#define POWER_TYPE_BATTERY_BOX (power_battery_box_get_type ())
#define POWER_BATTERY_BOX(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), POWER_TYPE_BATTERY_BOX, PowerBatteryBox))
#define POWER_BATTERY_BOX_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), POWER_TYPE_BATTERY_BOX, PowerBatteryBoxClass))
#define POWER_IS_BATTERY_BOX(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), POWER_TYPE_BATTERY_BOX))
#define POWER_IS_BATTERY_BOX_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), POWER_TYPE_BATTERY_BOX))
#define POWER_BATTERY_BOX_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), POWER_TYPE_BATTERY_BOX, PowerBatteryBoxClass))

typedef struct _PowerBatteryBox PowerBatteryBox;
typedef struct _PowerBatteryBoxClass PowerBatteryBoxClass;
typedef struct _PowerBatteryBoxPrivate PowerBatteryBoxPrivate;

#define POWER_TYPE_DEVICES_BOX (power_devices_box_get_type ())
#define POWER_DEVICES_BOX(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), POWER_TYPE_DEVICES_BOX, PowerDevicesBox))
#define POWER_DEVICES_BOX_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), POWER_TYPE_DEVICES_BOX, PowerDevicesBoxClass))
#define POWER_IS_DEVICES_BOX(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), POWER_TYPE_DEVICES_BOX))
#define POWER_IS_DEVICES_BOX_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), POWER_TYPE_DEVICES_BOX))
#define POWER_DEVICES_BOX_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), POWER_TYPE_DEVICES_BOX, PowerDevicesBoxClass))

typedef struct _PowerDevicesBox PowerDevicesBox;
typedef struct _PowerDevicesBoxClass PowerDevicesBoxClass;
typedef struct _PowerDevicesBoxPrivate PowerDevicesBoxPrivate;

#define POWER_TYPE_POWER_MODE_BUTTON (power_power_mode_button_get_type ())
#define POWER_POWER_MODE_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), POWER_TYPE_POWER_MODE_BUTTON, PowerPowerModeButton))
#define POWER_POWER_MODE_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), POWER_TYPE_POWER_MODE_BUTTON, PowerPowerModeButtonClass))
#define POWER_IS_POWER_MODE_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), POWER_TYPE_POWER_MODE_BUTTON))
#define POWER_IS_POWER_MODE_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), POWER_TYPE_POWER_MODE_BUTTON))
#define POWER_POWER_MODE_BUTTON_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), POWER_TYPE_POWER_MODE_BUTTON, PowerPowerModeButtonClass))

typedef struct _PowerPowerModeButton PowerPowerModeButton;
typedef struct _PowerPowerModeButtonClass PowerPowerModeButtonClass;
typedef struct _PowerPowerModeButtonPrivate PowerPowerModeButtonPrivate;

#define POWER_TYPE_DBUS (power_dbus_get_type ())
#define POWER_DBUS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), POWER_TYPE_DBUS, PowerDBus))
#define POWER_IS_DBUS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), POWER_TYPE_DBUS))
#define POWER_DBUS_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), POWER_TYPE_DBUS, PowerDBusIface))

typedef struct _PowerDBus PowerDBus;
typedef struct _PowerDBusIface PowerDBusIface;

#define POWER_TYPE_DBUS_PROXY (power_dbus_proxy_get_type ())

#define POWER_TYPE_POWER_PROFILE (power_power_profile_get_type ())
#define POWER_POWER_PROFILE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), POWER_TYPE_POWER_PROFILE, PowerPowerProfile))
#define POWER_IS_POWER_PROFILE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), POWER_TYPE_POWER_PROFILE))
#define POWER_POWER_PROFILE_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), POWER_TYPE_POWER_PROFILE, PowerPowerProfileIface))

typedef struct _PowerPowerProfile PowerPowerProfile;
typedef struct _PowerPowerProfileIface PowerPowerProfileIface;

#define POWER_TYPE_POWER_PROFILE_PROXY (power_power_profile_proxy_get_type ())

struct _PowerUpowerDeviceIface {
	GTypeInterface parent_iface;
	void (*refresh) (PowerUpowerDevice* self, GError** error);
	gboolean (*get_is_present) (PowerUpowerDevice* self);
	gboolean (*get_online) (PowerUpowerDevice* self);
	gboolean (*get_power_supply) (PowerUpowerDevice* self);
	gdouble (*get_percentage) (PowerUpowerDevice* self);
	gchar* (*get_model) (PowerUpowerDevice* self);
	guint32 (*get_battery_level) (PowerUpowerDevice* self);
	PowerDeviceState (*get_state) (PowerUpowerDevice* self);
	PowerDeviceType (*get_device_type) (PowerUpowerDevice* self);
};

struct _PowerDevice {
	GObject parent_instance;
	PowerDevicePrivate * priv;
};

struct _PowerDeviceClass {
	GObjectClass parent_class;
};

struct _PowerLogindHelper {
	GTypeInstance parent_instance;
	volatile int ref_count;
	PowerLogindHelperPrivate * priv;
};

struct _PowerLogindHelperClass {
	GTypeClass parent_class;
	void (*finalize) (PowerLogindHelper *self);
};

struct _PowerLogindHelperIfaceIface {
	GTypeInterface parent_iface;
	void (*set_key) (PowerLogindHelperIface* self, const gchar* key, const gchar* value, GError** error);
	gchar* (*get_key) (PowerLogindHelperIface* self, const gchar* key, GError** error);
	gboolean (*get_present) (PowerLogindHelperIface* self);
};

struct _PowerMainView {
	SwitchboardSettingsPage parent_instance;
	PowerMainViewPrivate * priv;
};

struct _PowerMainViewClass {
	SwitchboardSettingsPageClass parent_class;
};

struct _PowerPlug {
	SwitchboardPlug parent_instance;
	PowerPlugPrivate * priv;
};

struct _PowerPlugClass {
	SwitchboardPlugClass parent_class;
};

struct _PowerPowerManager {
	GObject parent_instance;
	PowerPowerManagerPrivate * priv;
};

struct _PowerPowerManagerClass {
	GObjectClass parent_class;
};

struct _PowerBatteryBox {
	GtkGrid parent_instance;
	PowerBatteryBoxPrivate * priv;
};

struct _PowerBatteryBoxClass {
	GtkGridClass parent_class;
};

struct _PowerDevicesBox {
	GtkGrid parent_instance;
	PowerDevicesBoxPrivate * priv;
};

struct _PowerDevicesBoxClass {
	GtkGridClass parent_class;
};

struct _PowerPowerModeButton {
	GtkBox parent_instance;
	PowerPowerModeButtonPrivate * priv;
};

struct _PowerPowerModeButtonClass {
	GtkBoxClass parent_class;
};

struct _PowerDBusIface {
	GTypeInterface parent_iface;
	guint32 (*get_connection_unix_process_id) (PowerDBus* self, const gchar* name, GError** error);
	guint32 (*get_connection_unix_user) (PowerDBus* self, const gchar* name, GError** error);
};

struct _PowerPowerProfileIface {
	GTypeInterface parent_iface;
	GHashTable** (*get_profiles) (PowerPowerProfile* self, gint* result_length1);
	gchar* (*get_active_profile) (PowerPowerProfile* self);
	void (*set_active_profile) (PowerPowerProfile* self, const gchar* value);
};

VALA_EXTERN GType power_upower_device_proxy_get_type (void) G_GNUC_CONST ;
VALA_EXTERN guint power_upower_device_register_object (void* object,
                                           GDBusConnection* connection,
                                           const gchar* path,
                                           GError** error);
VALA_EXTERN GType power_device_state_get_type (void) G_GNUC_CONST ;
VALA_EXTERN GType power_device_type_get_type (void) G_GNUC_CONST ;
VALA_EXTERN GType power_upower_device_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (PowerUpowerDevice, g_object_unref)
VALA_EXTERN void power_upower_device_refresh (PowerUpowerDevice* self,
                                  GError** error);
VALA_EXTERN gboolean power_upower_device_get_is_present (PowerUpowerDevice* self);
VALA_EXTERN gboolean power_upower_device_get_online (PowerUpowerDevice* self);
VALA_EXTERN gboolean power_upower_device_get_power_supply (PowerUpowerDevice* self);
VALA_EXTERN gdouble power_upower_device_get_percentage (PowerUpowerDevice* self);
VALA_EXTERN gchar* power_upower_device_get_model (PowerUpowerDevice* self);
VALA_EXTERN guint32 power_upower_device_get_battery_level (PowerUpowerDevice* self);
VALA_EXTERN PowerDeviceState power_upower_device_get_state (PowerUpowerDevice* self);
VALA_EXTERN PowerDeviceType power_upower_device_get_device_type (PowerUpowerDevice* self);
VALA_EXTERN GType power_device_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (PowerDevice, g_object_unref)
VALA_EXTERN GIcon* power_device_state_to_icon (PowerDeviceState self);
VALA_EXTERN gchar* power_device_state_to_string (PowerDeviceState self);
VALA_EXTERN PowerDevice* power_device_new (const gchar* path);
VALA_EXTERN PowerDevice* power_device_construct (GType object_type,
                                     const gchar* path);
VALA_EXTERN gboolean power_device_equal_func (PowerDevice* self,
                                  PowerDevice* other);
VALA_EXTERN const gchar* power_device_get_path (PowerDevice* self);
VALA_EXTERN gboolean power_device_get_power_supply (PowerDevice* self);
VALA_EXTERN gdouble power_device_get_percentage (PowerDevice* self);
VALA_EXTERN gboolean power_device_get_coarse_battery_level (PowerDevice* self);
VALA_EXTERN const gchar* power_device_get_description (PowerDevice* self);
VALA_EXTERN const gchar* power_device_get_icon_name (PowerDevice* self);
VALA_EXTERN const gchar* power_device_get_model (PowerDevice* self);
VALA_EXTERN PowerDeviceState power_device_get_state (PowerDevice* self);
VALA_EXTERN PowerDeviceType power_device_get_device_type (PowerDevice* self);
VALA_EXTERN gpointer power_logind_helper_ref (gpointer instance);
VALA_EXTERN void power_logind_helper_unref (gpointer instance);
VALA_EXTERN GParamSpec* power_param_spec_logind_helper (const gchar* name,
                                            const gchar* nick,
                                            const gchar* blurb,
                                            GType object_type,
                                            GParamFlags flags);
VALA_EXTERN void power_value_set_logind_helper (GValue* value,
                                    gpointer v_object);
VALA_EXTERN void power_value_take_logind_helper (GValue* value,
                                     gpointer v_object);
VALA_EXTERN gpointer power_value_get_logind_helper (const GValue* value);
VALA_EXTERN GType power_logind_helper_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (PowerLogindHelper, power_logind_helper_unref)
VALA_EXTERN GType power_logind_helper_action_get_type (void) G_GNUC_CONST ;
VALA_EXTERN PowerLogindHelperAction power_logind_helper_action_from_string (const gchar* str);
VALA_EXTERN gchar* power_logind_helper_action_to_string (PowerLogindHelperAction self);
VALA_EXTERN GType power_logind_helper_iface_proxy_get_type (void) G_GNUC_CONST ;
VALA_EXTERN guint power_logind_helper_iface_register_object (void* object,
                                                 GDBusConnection* connection,
                                                 const gchar* path,
                                                 GError** error);
VALA_EXTERN GType power_logind_helper_iface_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (PowerLogindHelperIface, g_object_unref)
VALA_EXTERN PowerLogindHelperIface* power_logind_helper_get_logind_helper (void);
VALA_EXTERN PowerLogindHelper* power_logind_helper_new (void);
VALA_EXTERN PowerLogindHelper* power_logind_helper_construct (GType object_type);
VALA_EXTERN GType power_main_view_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (PowerMainView, g_object_unref)
VALA_EXTERN PowerMainView* power_main_view_new (void);
VALA_EXTERN PowerMainView* power_main_view_construct (GType object_type);
VALA_EXTERN GtkStack* power_main_view_get_stack (PowerMainView* self);
VALA_EXTERN gboolean power_main_view_get_natural_scroll_touchpad (PowerMainView* self);
VALA_EXTERN void power_main_view_set_natural_scroll_touchpad (PowerMainView* self,
                                                  gboolean value);
VALA_EXTERN gboolean power_main_view_get_natural_scroll_mouse (PowerMainView* self);
VALA_EXTERN void power_main_view_set_natural_scroll_mouse (PowerMainView* self,
                                               gboolean value);
VALA_EXTERN GType power_plug_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (PowerPlug, g_object_unref)
VALA_EXTERN PowerPlug* power_plug_new (void);
VALA_EXTERN PowerPlug* power_plug_construct (GType object_type);
VALA_EXTERN SwitchboardPlug* get_plug (GModule* module);
VALA_EXTERN GType power_power_manager_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (PowerPowerManager, g_object_unref)
VALA_EXTERN PowerPowerManager* power_power_manager_get_default (void);
VALA_EXTERN gboolean power_power_manager_on_battery (PowerPowerManager* self);
VALA_EXTERN gboolean power_power_manager_has_lid (PowerPowerManager* self);
VALA_EXTERN PowerPowerManager* power_power_manager_new (void);
VALA_EXTERN PowerPowerManager* power_power_manager_construct (GType object_type);
VALA_EXTERN GListStore* power_power_manager_get_batteries (PowerPowerManager* self);
VALA_EXTERN GListStore* power_power_manager_get_devices (PowerPowerManager* self);
VALA_EXTERN GType power_battery_box_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (PowerBatteryBox, g_object_unref)
VALA_EXTERN PowerBatteryBox* power_battery_box_new (void);
VALA_EXTERN PowerBatteryBox* power_battery_box_construct (GType object_type);
VALA_EXTERN GType power_devices_box_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (PowerDevicesBox, g_object_unref)
VALA_EXTERN PowerDevicesBox* power_devices_box_new (void);
VALA_EXTERN PowerDevicesBox* power_devices_box_construct (GType object_type);
VALA_EXTERN GType power_power_mode_button_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (PowerPowerModeButton, g_object_unref)
VALA_EXTERN PowerPowerModeButton* power_power_mode_button_new (gboolean on_battery);
VALA_EXTERN PowerPowerModeButton* power_power_mode_button_construct (GType object_type,
                                                         gboolean on_battery);
VALA_EXTERN gboolean power_power_mode_button_get_successfully_initialized (void);
VALA_EXTERN const gchar* power_power_mode_button_get_settings_key (PowerPowerModeButton* self);
VALA_EXTERN GType power_dbus_proxy_get_type (void) G_GNUC_CONST ;
VALA_EXTERN guint power_dbus_register_object (void* object,
                                  GDBusConnection* connection,
                                  const gchar* path,
                                  GError** error);
VALA_EXTERN GType power_dbus_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (PowerDBus, g_object_unref)
VALA_EXTERN guint32 power_dbus_get_connection_unix_process_id (PowerDBus* self,
                                                   const gchar* name,
                                                   GError** error);
VALA_EXTERN guint32 power_dbus_get_connection_unix_user (PowerDBus* self,
                                             const gchar* name,
                                             GError** error);
VALA_EXTERN void power_logind_helper_iface_set_key (PowerLogindHelperIface* self,
                                        const gchar* key,
                                        const gchar* value,
                                        GError** error);
VALA_EXTERN gchar* power_logind_helper_iface_get_key (PowerLogindHelperIface* self,
                                          const gchar* key,
                                          GError** error);
VALA_EXTERN gboolean power_logind_helper_iface_get_present (PowerLogindHelperIface* self);
VALA_EXTERN GType power_power_profile_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (PowerPowerProfile, g_object_unref)
VALA_EXTERN GType power_power_profile_proxy_get_type (void) G_GNUC_CONST ;
VALA_EXTERN guint power_power_profile_register_object (void* object,
                                           GDBusConnection* connection,
                                           const gchar* path,
                                           GError** error);
VALA_EXTERN GHashTable** power_power_profile_get_profiles (PowerPowerProfile* self,
                                               gint* result_length1);
VALA_EXTERN gchar* power_power_profile_get_active_profile (PowerPowerProfile* self);
VALA_EXTERN void power_power_profile_set_active_profile (PowerPowerProfile* self,
                                             const gchar* value);

G_END_DECLS

#endif
