/* ft_plugin_xfce.h generated by valac 0.56.19, the Vala compiler, do not modify */

#ifndef __SRC_PLUGINS_XFCE_FT_PLUGIN_XFCE_H__
#define __SRC_PLUGINS_XFCE_FT_PLUGIN_XFCE_H__

#include <glib-object.h>
#include <gio/gio.h>
#include <glib.h>
#include "ft_core.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 XFCE_TYPE_SCREEN_SAVER (xfce_screen_saver_get_type ())
#define XFCE_SCREEN_SAVER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), XFCE_TYPE_SCREEN_SAVER, XfceScreenSaver))
#define XFCE_IS_SCREEN_SAVER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), XFCE_TYPE_SCREEN_SAVER))
#define XFCE_SCREEN_SAVER_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), XFCE_TYPE_SCREEN_SAVER, XfceScreenSaverIface))

typedef struct _XfceScreenSaver XfceScreenSaver;
typedef struct _XfceScreenSaverIface XfceScreenSaverIface;

#define XFCE_TYPE_SCREEN_SAVER_PROXY (xfce_screen_saver_proxy_get_type ())

#define XFCE_TYPE_SCREEN_SAVER_PROVIDER (xfce_screen_saver_provider_get_type ())
#define XFCE_SCREEN_SAVER_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), XFCE_TYPE_SCREEN_SAVER_PROVIDER, XfceScreenSaverProvider))
#define XFCE_SCREEN_SAVER_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), XFCE_TYPE_SCREEN_SAVER_PROVIDER, XfceScreenSaverProviderClass))
#define XFCE_IS_SCREEN_SAVER_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), XFCE_TYPE_SCREEN_SAVER_PROVIDER))
#define XFCE_IS_SCREEN_SAVER_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), XFCE_TYPE_SCREEN_SAVER_PROVIDER))
#define XFCE_SCREEN_SAVER_PROVIDER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), XFCE_TYPE_SCREEN_SAVER_PROVIDER, XfceScreenSaverProviderClass))

typedef struct _XfceScreenSaverProvider XfceScreenSaverProvider;
typedef struct _XfceScreenSaverProviderClass XfceScreenSaverProviderClass;
typedef struct _XfceScreenSaverProviderPrivate XfceScreenSaverProviderPrivate;

struct _XfceScreenSaverIface {
	GTypeInterface parent_iface;
	void (*get_active) (XfceScreenSaver* self, GAsyncReadyCallback _callback_, gpointer _user_data_);
	gboolean (*get_active_finish) (XfceScreenSaver* self, GAsyncResult* _res_, GError** error);
	void (*lock) (XfceScreenSaver* self, GAsyncReadyCallback _callback_, gpointer _user_data_);
	void (*lock_finish) (XfceScreenSaver* self, GAsyncResult* _res_, GError** error);
};

struct _XfceScreenSaverProvider {
	FtProvider parent_instance;
	XfceScreenSaverProviderPrivate * priv;
};

struct _XfceScreenSaverProviderClass {
	FtProviderClass parent_class;
};

VALA_EXTERN void xfce_peas_register_types (GTypeModule* module);
VALA_EXTERN GType xfce_screen_saver_proxy_get_type (void) G_GNUC_CONST ;
VALA_EXTERN void xfce_screen_saver_proxy_register_dynamic_type (GTypeModule* module);
VALA_EXTERN guint xfce_screen_saver_register_object (void* object,
                                         GDBusConnection* connection,
                                         const gchar* path,
                                         GError** error);
GType xfce_screen_saver_register_type (GTypeModule * module);
VALA_EXTERN GType xfce_screen_saver_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (XfceScreenSaver, g_object_unref)
VALA_EXTERN void xfce_screen_saver_get_active (XfceScreenSaver* self,
                                   GAsyncReadyCallback _callback_,
                                   gpointer _user_data_);
VALA_EXTERN gboolean xfce_screen_saver_get_active_finish (XfceScreenSaver* self,
                                              GAsyncResult* _res_,
                                              GError** error);
VALA_EXTERN void xfce_screen_saver_lock (XfceScreenSaver* self,
                             GAsyncReadyCallback _callback_,
                             gpointer _user_data_);
VALA_EXTERN void xfce_screen_saver_lock_finish (XfceScreenSaver* self,
                                    GAsyncResult* _res_,
                                    GError** error);
GType xfce_screen_saver_provider_register_type (GTypeModule * module);
VALA_EXTERN GType xfce_screen_saver_provider_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (XfceScreenSaverProvider, g_object_unref)
VALA_EXTERN XfceScreenSaverProvider* xfce_screen_saver_provider_new (void);
VALA_EXTERN XfceScreenSaverProvider* xfce_screen_saver_provider_construct (GType object_type);

G_END_DECLS

#endif
