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

#ifndef __UNITY_PROTOCOL_H__
#define __UNITY_PROTOCOL_H__

#include <glib-object.h>
#include <gio/gio.h>
#include <stdlib.h>
#include <string.h>
#include <glib.h>
#include <float.h>
#include <math.h>
#include <dee.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 UNITY_PROTOCOL_CHANNEL_PRIVATE_HINT "private-channel"
#define UNITY_PROTOCOL_CHANNEL_DIFF_MODEL_HINT "diff-model"
#define UNITY_PROTOCOL_CHANNEL_SWARM_NAME_HINT "model-swarm-name"
#define UNITY_PROTOCOL_SCOPE_SERVICE_INTERFACE_NAME "com.canonical.Unity.Scope"

typedef enum  {
	UNITY_PROTOCOL_CATEGORY_TYPE_NONE,
	UNITY_PROTOCOL_CATEGORY_TYPE_APPLICATION,
	UNITY_PROTOCOL_CATEGORY_TYPE_BOOK,
	UNITY_PROTOCOL_CATEGORY_TYPE_MUSIC,
	UNITY_PROTOCOL_CATEGORY_TYPE_MOVIE,
	UNITY_PROTOCOL_CATEGORY_TYPE_GAMES,
	UNITY_PROTOCOL_CATEGORY_TYPE_ELECTRONICS,
	UNITY_PROTOCOL_CATEGORY_TYPE_COMPUTERS,
	UNITY_PROTOCOL_CATEGORY_TYPE_OFFICE,
	UNITY_PROTOCOL_CATEGORY_TYPE_HOME,
	UNITY_PROTOCOL_CATEGORY_TYPE_GARDEN,
	UNITY_PROTOCOL_CATEGORY_TYPE_PETS,
	UNITY_PROTOCOL_CATEGORY_TYPE_TOYS,
	UNITY_PROTOCOL_CATEGORY_TYPE_CHILDREN,
	UNITY_PROTOCOL_CATEGORY_TYPE_BABY,
	UNITY_PROTOCOL_CATEGORY_TYPE_CLOTHES,
	UNITY_PROTOCOL_CATEGORY_TYPE_SHOES,
	UNITY_PROTOCOL_CATEGORY_TYPE_WATCHES,
	UNITY_PROTOCOL_CATEGORY_TYPE_SPORTS,
	UNITY_PROTOCOL_CATEGORY_TYPE_OUTDOORS,
	UNITY_PROTOCOL_CATEGORY_TYPE_GROCERY,
	UNITY_PROTOCOL_CATEGORY_TYPE_HEALTH,
	UNITY_PROTOCOL_CATEGORY_TYPE_BEAUTY,
	UNITY_PROTOCOL_CATEGORY_TYPE_DIY,
	UNITY_PROTOCOL_CATEGORY_TYPE_TOOLS,
	UNITY_PROTOCOL_CATEGORY_TYPE_CAR,
	UNITY_PROTOCOL_CATEGORY_TYPE_N_CATEGORIES
} UnityProtocolCategoryType;

#define UNITY_PROTOCOL_TYPE_CATEGORY_TYPE (unity_protocol_category_type_get_type ())

#define UNITY_PROTOCOL_TYPE_ANNOTATED_ICON (unity_protocol_annotated_icon_get_type ())
#define UNITY_PROTOCOL_ANNOTATED_ICON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_PROTOCOL_TYPE_ANNOTATED_ICON, UnityProtocolAnnotatedIcon))
#define UNITY_PROTOCOL_ANNOTATED_ICON_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), UNITY_PROTOCOL_TYPE_ANNOTATED_ICON, UnityProtocolAnnotatedIconClass))
#define UNITY_PROTOCOL_IS_ANNOTATED_ICON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_PROTOCOL_TYPE_ANNOTATED_ICON))
#define UNITY_PROTOCOL_IS_ANNOTATED_ICON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), UNITY_PROTOCOL_TYPE_ANNOTATED_ICON))
#define UNITY_PROTOCOL_ANNOTATED_ICON_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), UNITY_PROTOCOL_TYPE_ANNOTATED_ICON, UnityProtocolAnnotatedIconClass))

typedef struct _UnityProtocolAnnotatedIcon UnityProtocolAnnotatedIcon;
typedef struct _UnityProtocolAnnotatedIconClass UnityProtocolAnnotatedIconClass;
typedef struct _UnityProtocolAnnotatedIconPrivate UnityProtocolAnnotatedIconPrivate;

#define UNITY_PROTOCOL_TYPE_ACTIVATION_REPLY_RAW (unity_protocol_activation_reply_raw_get_type ())
typedef struct _UnityProtocolActivationReplyRaw UnityProtocolActivationReplyRaw;
typedef enum  {
	UNITY_PROTOCOL_HANDLED_TYPE_NOT_HANDLED,
	UNITY_PROTOCOL_HANDLED_TYPE_SHOW_DASH,
	UNITY_PROTOCOL_HANDLED_TYPE_HIDE_DASH,
	UNITY_PROTOCOL_HANDLED_TYPE_GOTO_DASH_URI,
	UNITY_PROTOCOL_HANDLED_TYPE_SHOW_PREVIEW,
	UNITY_PROTOCOL_HANDLED_TYPE_PERFORM_SEARCH
} UnityProtocolHandledType;

#define UNITY_PROTOCOL_TYPE_HANDLED_TYPE (unity_protocol_handled_type_get_type ())
typedef enum  {
	UNITY_PROTOCOL_ACTION_TYPE_ACTIVATE_RESULT,
	UNITY_PROTOCOL_ACTION_TYPE_PREVIEW_RESULT,
	UNITY_PROTOCOL_ACTION_TYPE_PREVIEW_ACTION,
	UNITY_PROTOCOL_ACTION_TYPE_PREVIEW_BUILTIN_ACTION
} UnityProtocolActionType;

#define UNITY_PROTOCOL_TYPE_ACTION_TYPE (unity_protocol_action_type_get_type ())
typedef enum  {
	UNITY_PROTOCOL_VIEW_TYPE_HIDDEN,
	UNITY_PROTOCOL_VIEW_TYPE_HOME_VIEW,
	UNITY_PROTOCOL_VIEW_TYPE_LENS_VIEW
} UnityProtocolViewType;

#define UNITY_PROTOCOL_TYPE_VIEW_TYPE (unity_protocol_view_type_get_type ())
typedef enum  {
	UNITY_PROTOCOL_CHANNEL_TYPE_DEFAULT,
	UNITY_PROTOCOL_CHANNEL_TYPE_GLOBAL
} UnityProtocolChannelType;

#define UNITY_PROTOCOL_TYPE_CHANNEL_TYPE (unity_protocol_channel_type_get_type ())
typedef enum  {
	UNITY_PROTOCOL_CHANNEL_FLAGS_NONE = 0,
	UNITY_PROTOCOL_CHANNEL_FLAGS_PRIVATE = 1 << 0,
	UNITY_PROTOCOL_CHANNEL_FLAGS_NO_FILTERING = 1 << 1,
	UNITY_PROTOCOL_CHANNEL_FLAGS_DIFF_CHANGES = 1 << 2
} UnityProtocolChannelFlags;

#define UNITY_PROTOCOL_TYPE_CHANNEL_FLAGS (unity_protocol_channel_flags_get_type ())

#define UNITY_PROTOCOL_TYPE_SCOPE_ERROR (unity_protocol_scope_error_get_type ())

#define UNITY_PROTOCOL_TYPE_SCOPE_SERVICE (unity_protocol_scope_service_get_type ())
#define UNITY_PROTOCOL_SCOPE_SERVICE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_PROTOCOL_TYPE_SCOPE_SERVICE, UnityProtocolScopeService))
#define UNITY_PROTOCOL_IS_SCOPE_SERVICE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_PROTOCOL_TYPE_SCOPE_SERVICE))
#define UNITY_PROTOCOL_SCOPE_SERVICE_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), UNITY_PROTOCOL_TYPE_SCOPE_SERVICE, UnityProtocolScopeServiceIface))

typedef struct _UnityProtocolScopeService UnityProtocolScopeService;
typedef struct _UnityProtocolScopeServiceIface UnityProtocolScopeServiceIface;

#define UNITY_PROTOCOL_TYPE_SCOPE_SERVICE_PROXY (unity_protocol_scope_service_proxy_get_type ())
typedef enum  {
	UNITY_PROTOCOL_LAYOUT_HINT_NONE,
	UNITY_PROTOCOL_LAYOUT_HINT_LEFT,
	UNITY_PROTOCOL_LAYOUT_HINT_RIGHT,
	UNITY_PROTOCOL_LAYOUT_HINT_TOP,
	UNITY_PROTOCOL_LAYOUT_HINT_BOTTOM
} UnityProtocolLayoutHint;

#define UNITY_PROTOCOL_TYPE_LAYOUT_HINT (unity_protocol_layout_hint_get_type ())

#define UNITY_PROTOCOL_TYPE_INFO_HINT_RAW (unity_protocol_info_hint_raw_get_type ())
typedef struct _UnityProtocolInfoHintRaw UnityProtocolInfoHintRaw;

#define UNITY_PROTOCOL_TYPE_PREVIEW_ACTION_RAW (unity_protocol_preview_action_raw_get_type ())
typedef struct _UnityProtocolPreviewActionRaw UnityProtocolPreviewActionRaw;

#define UNITY_PROTOCOL_TYPE_PREVIEW (unity_protocol_preview_get_type ())
#define UNITY_PROTOCOL_PREVIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_PROTOCOL_TYPE_PREVIEW, UnityProtocolPreview))
#define UNITY_PROTOCOL_PREVIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), UNITY_PROTOCOL_TYPE_PREVIEW, UnityProtocolPreviewClass))
#define UNITY_PROTOCOL_IS_PREVIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_PROTOCOL_TYPE_PREVIEW))
#define UNITY_PROTOCOL_IS_PREVIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), UNITY_PROTOCOL_TYPE_PREVIEW))
#define UNITY_PROTOCOL_PREVIEW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), UNITY_PROTOCOL_TYPE_PREVIEW, UnityProtocolPreviewClass))

typedef struct _UnityProtocolPreview UnityProtocolPreview;
typedef struct _UnityProtocolPreviewClass UnityProtocolPreviewClass;
typedef struct _UnityProtocolPreviewPrivate UnityProtocolPreviewPrivate;

#define UNITY_PROTOCOL_TYPE_GENERIC_PREVIEW (unity_protocol_generic_preview_get_type ())
#define UNITY_PROTOCOL_GENERIC_PREVIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_PROTOCOL_TYPE_GENERIC_PREVIEW, UnityProtocolGenericPreview))
#define UNITY_PROTOCOL_GENERIC_PREVIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), UNITY_PROTOCOL_TYPE_GENERIC_PREVIEW, UnityProtocolGenericPreviewClass))
#define UNITY_PROTOCOL_IS_GENERIC_PREVIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_PROTOCOL_TYPE_GENERIC_PREVIEW))
#define UNITY_PROTOCOL_IS_GENERIC_PREVIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), UNITY_PROTOCOL_TYPE_GENERIC_PREVIEW))
#define UNITY_PROTOCOL_GENERIC_PREVIEW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), UNITY_PROTOCOL_TYPE_GENERIC_PREVIEW, UnityProtocolGenericPreviewClass))

typedef struct _UnityProtocolGenericPreview UnityProtocolGenericPreview;
typedef struct _UnityProtocolGenericPreviewClass UnityProtocolGenericPreviewClass;
typedef struct _UnityProtocolGenericPreviewPrivate UnityProtocolGenericPreviewPrivate;

#define UNITY_PROTOCOL_TYPE_APPLICATION_PREVIEW (unity_protocol_application_preview_get_type ())
#define UNITY_PROTOCOL_APPLICATION_PREVIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_PROTOCOL_TYPE_APPLICATION_PREVIEW, UnityProtocolApplicationPreview))
#define UNITY_PROTOCOL_APPLICATION_PREVIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), UNITY_PROTOCOL_TYPE_APPLICATION_PREVIEW, UnityProtocolApplicationPreviewClass))
#define UNITY_PROTOCOL_IS_APPLICATION_PREVIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_PROTOCOL_TYPE_APPLICATION_PREVIEW))
#define UNITY_PROTOCOL_IS_APPLICATION_PREVIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), UNITY_PROTOCOL_TYPE_APPLICATION_PREVIEW))
#define UNITY_PROTOCOL_APPLICATION_PREVIEW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), UNITY_PROTOCOL_TYPE_APPLICATION_PREVIEW, UnityProtocolApplicationPreviewClass))

typedef struct _UnityProtocolApplicationPreview UnityProtocolApplicationPreview;
typedef struct _UnityProtocolApplicationPreviewClass UnityProtocolApplicationPreviewClass;
typedef struct _UnityProtocolApplicationPreviewPrivate UnityProtocolApplicationPreviewPrivate;
typedef enum  {
	UNITY_PROTOCOL_PLAY_STATE_STOPPED,
	UNITY_PROTOCOL_PLAY_STATE_PLAYING,
	UNITY_PROTOCOL_PLAY_STATE_PAUSED
} UnityProtocolPlayState;

#define UNITY_PROTOCOL_TYPE_PLAY_STATE (unity_protocol_play_state_get_type ())

#define UNITY_PROTOCOL_TYPE_MUSIC_PREVIEW (unity_protocol_music_preview_get_type ())
#define UNITY_PROTOCOL_MUSIC_PREVIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_PROTOCOL_TYPE_MUSIC_PREVIEW, UnityProtocolMusicPreview))
#define UNITY_PROTOCOL_MUSIC_PREVIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), UNITY_PROTOCOL_TYPE_MUSIC_PREVIEW, UnityProtocolMusicPreviewClass))
#define UNITY_PROTOCOL_IS_MUSIC_PREVIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_PROTOCOL_TYPE_MUSIC_PREVIEW))
#define UNITY_PROTOCOL_IS_MUSIC_PREVIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), UNITY_PROTOCOL_TYPE_MUSIC_PREVIEW))
#define UNITY_PROTOCOL_MUSIC_PREVIEW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), UNITY_PROTOCOL_TYPE_MUSIC_PREVIEW, UnityProtocolMusicPreviewClass))

typedef struct _UnityProtocolMusicPreview UnityProtocolMusicPreview;
typedef struct _UnityProtocolMusicPreviewClass UnityProtocolMusicPreviewClass;
typedef struct _UnityProtocolMusicPreviewPrivate UnityProtocolMusicPreviewPrivate;
typedef enum  {
	UNITY_PROTOCOL_PREVIEW_PAYMENT_TYPE_APPLICATION,
	UNITY_PROTOCOL_PREVIEW_PAYMENT_TYPE_MUSIC,
	UNITY_PROTOCOL_PREVIEW_PAYMENT_TYPE_ERROR
} UnityProtocolPreviewPaymentType;

#define UNITY_PROTOCOL_TYPE_PREVIEW_PAYMENT_TYPE (unity_protocol_preview_payment_type_get_type ())

#define UNITY_PROTOCOL_TYPE_PAYMENT_PREVIEW (unity_protocol_payment_preview_get_type ())
#define UNITY_PROTOCOL_PAYMENT_PREVIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_PROTOCOL_TYPE_PAYMENT_PREVIEW, UnityProtocolPaymentPreview))
#define UNITY_PROTOCOL_PAYMENT_PREVIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), UNITY_PROTOCOL_TYPE_PAYMENT_PREVIEW, UnityProtocolPaymentPreviewClass))
#define UNITY_PROTOCOL_IS_PAYMENT_PREVIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_PROTOCOL_TYPE_PAYMENT_PREVIEW))
#define UNITY_PROTOCOL_IS_PAYMENT_PREVIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), UNITY_PROTOCOL_TYPE_PAYMENT_PREVIEW))
#define UNITY_PROTOCOL_PAYMENT_PREVIEW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), UNITY_PROTOCOL_TYPE_PAYMENT_PREVIEW, UnityProtocolPaymentPreviewClass))

typedef struct _UnityProtocolPaymentPreview UnityProtocolPaymentPreview;
typedef struct _UnityProtocolPaymentPreviewClass UnityProtocolPaymentPreviewClass;
typedef struct _UnityProtocolPaymentPreviewPrivate UnityProtocolPaymentPreviewPrivate;

#define UNITY_PROTOCOL_TYPE_MOVIE_PREVIEW (unity_protocol_movie_preview_get_type ())
#define UNITY_PROTOCOL_MOVIE_PREVIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_PROTOCOL_TYPE_MOVIE_PREVIEW, UnityProtocolMoviePreview))
#define UNITY_PROTOCOL_MOVIE_PREVIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), UNITY_PROTOCOL_TYPE_MOVIE_PREVIEW, UnityProtocolMoviePreviewClass))
#define UNITY_PROTOCOL_IS_MOVIE_PREVIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_PROTOCOL_TYPE_MOVIE_PREVIEW))
#define UNITY_PROTOCOL_IS_MOVIE_PREVIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), UNITY_PROTOCOL_TYPE_MOVIE_PREVIEW))
#define UNITY_PROTOCOL_MOVIE_PREVIEW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), UNITY_PROTOCOL_TYPE_MOVIE_PREVIEW, UnityProtocolMoviePreviewClass))

typedef struct _UnityProtocolMoviePreview UnityProtocolMoviePreview;
typedef struct _UnityProtocolMoviePreviewClass UnityProtocolMoviePreviewClass;
typedef struct _UnityProtocolMoviePreviewPrivate UnityProtocolMoviePreviewPrivate;

#define UNITY_PROTOCOL_TYPE_SOCIAL_PREVIEW (unity_protocol_social_preview_get_type ())
#define UNITY_PROTOCOL_SOCIAL_PREVIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_PROTOCOL_TYPE_SOCIAL_PREVIEW, UnityProtocolSocialPreview))
#define UNITY_PROTOCOL_SOCIAL_PREVIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), UNITY_PROTOCOL_TYPE_SOCIAL_PREVIEW, UnityProtocolSocialPreviewClass))
#define UNITY_PROTOCOL_IS_SOCIAL_PREVIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_PROTOCOL_TYPE_SOCIAL_PREVIEW))
#define UNITY_PROTOCOL_IS_SOCIAL_PREVIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), UNITY_PROTOCOL_TYPE_SOCIAL_PREVIEW))
#define UNITY_PROTOCOL_SOCIAL_PREVIEW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), UNITY_PROTOCOL_TYPE_SOCIAL_PREVIEW, UnityProtocolSocialPreviewClass))

typedef struct _UnityProtocolSocialPreview UnityProtocolSocialPreview;
typedef struct _UnityProtocolSocialPreviewClass UnityProtocolSocialPreviewClass;
typedef struct _UnityProtocolSocialPreviewPrivate UnityProtocolSocialPreviewPrivate;

#define UNITY_PROTOCOL_SOCIAL_PREVIEW_TYPE_COMMENT_RAW (unity_protocol_social_preview_comment_raw_get_type ())
typedef struct _UnityProtocolSocialPreviewCommentRaw UnityProtocolSocialPreviewCommentRaw;

#define UNITY_PROTOCOL_TYPE_SERIES_ITEM_RAW (unity_protocol_series_item_raw_get_type ())
typedef struct _UnityProtocolSeriesItemRaw UnityProtocolSeriesItemRaw;

#define UNITY_PROTOCOL_TYPE_SERIES_PREVIEW (unity_protocol_series_preview_get_type ())
#define UNITY_PROTOCOL_SERIES_PREVIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_PROTOCOL_TYPE_SERIES_PREVIEW, UnityProtocolSeriesPreview))
#define UNITY_PROTOCOL_SERIES_PREVIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), UNITY_PROTOCOL_TYPE_SERIES_PREVIEW, UnityProtocolSeriesPreviewClass))
#define UNITY_PROTOCOL_IS_SERIES_PREVIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_PROTOCOL_TYPE_SERIES_PREVIEW))
#define UNITY_PROTOCOL_IS_SERIES_PREVIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), UNITY_PROTOCOL_TYPE_SERIES_PREVIEW))
#define UNITY_PROTOCOL_SERIES_PREVIEW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), UNITY_PROTOCOL_TYPE_SERIES_PREVIEW, UnityProtocolSeriesPreviewClass))

typedef struct _UnityProtocolSeriesPreview UnityProtocolSeriesPreview;
typedef struct _UnityProtocolSeriesPreviewClass UnityProtocolSeriesPreviewClass;
typedef struct _UnityProtocolSeriesPreviewPrivate UnityProtocolSeriesPreviewPrivate;

#define UNITY_PROTOCOL_TYPE_META_DATA_COLUMN_INFO (unity_protocol_meta_data_column_info_get_type ())
#define UNITY_PROTOCOL_META_DATA_COLUMN_INFO(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_PROTOCOL_TYPE_META_DATA_COLUMN_INFO, UnityProtocolMetaDataColumnInfo))
#define UNITY_PROTOCOL_META_DATA_COLUMN_INFO_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), UNITY_PROTOCOL_TYPE_META_DATA_COLUMN_INFO, UnityProtocolMetaDataColumnInfoClass))
#define UNITY_PROTOCOL_IS_META_DATA_COLUMN_INFO(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_PROTOCOL_TYPE_META_DATA_COLUMN_INFO))
#define UNITY_PROTOCOL_IS_META_DATA_COLUMN_INFO_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), UNITY_PROTOCOL_TYPE_META_DATA_COLUMN_INFO))
#define UNITY_PROTOCOL_META_DATA_COLUMN_INFO_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), UNITY_PROTOCOL_TYPE_META_DATA_COLUMN_INFO, UnityProtocolMetaDataColumnInfoClass))

typedef struct _UnityProtocolMetaDataColumnInfo UnityProtocolMetaDataColumnInfo;
typedef struct _UnityProtocolMetaDataColumnInfoClass UnityProtocolMetaDataColumnInfoClass;
typedef struct _UnityProtocolMetaDataColumnInfoPrivate UnityProtocolMetaDataColumnInfoPrivate;

#define UNITY_PROTOCOL_TYPE_META_DATA_SCHEMA_INFO (unity_protocol_meta_data_schema_info_get_type ())
#define UNITY_PROTOCOL_META_DATA_SCHEMA_INFO(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_PROTOCOL_TYPE_META_DATA_SCHEMA_INFO, UnityProtocolMetaDataSchemaInfo))
#define UNITY_PROTOCOL_META_DATA_SCHEMA_INFO_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), UNITY_PROTOCOL_TYPE_META_DATA_SCHEMA_INFO, UnityProtocolMetaDataSchemaInfoClass))
#define UNITY_PROTOCOL_IS_META_DATA_SCHEMA_INFO(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_PROTOCOL_TYPE_META_DATA_SCHEMA_INFO))
#define UNITY_PROTOCOL_IS_META_DATA_SCHEMA_INFO_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), UNITY_PROTOCOL_TYPE_META_DATA_SCHEMA_INFO))
#define UNITY_PROTOCOL_META_DATA_SCHEMA_INFO_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), UNITY_PROTOCOL_TYPE_META_DATA_SCHEMA_INFO, UnityProtocolMetaDataSchemaInfoClass))

typedef struct _UnityProtocolMetaDataSchemaInfo UnityProtocolMetaDataSchemaInfo;
typedef struct _UnityProtocolMetaDataSchemaInfoClass UnityProtocolMetaDataSchemaInfoClass;
typedef struct _UnityProtocolMetaDataSchemaInfoPrivate UnityProtocolMetaDataSchemaInfoPrivate;

#define UNITY_PROTOCOL_TYPE_CATEGORY_DEFINITION (unity_protocol_category_definition_get_type ())
#define UNITY_PROTOCOL_CATEGORY_DEFINITION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_PROTOCOL_TYPE_CATEGORY_DEFINITION, UnityProtocolCategoryDefinition))
#define UNITY_PROTOCOL_CATEGORY_DEFINITION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), UNITY_PROTOCOL_TYPE_CATEGORY_DEFINITION, UnityProtocolCategoryDefinitionClass))
#define UNITY_PROTOCOL_IS_CATEGORY_DEFINITION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_PROTOCOL_TYPE_CATEGORY_DEFINITION))
#define UNITY_PROTOCOL_IS_CATEGORY_DEFINITION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), UNITY_PROTOCOL_TYPE_CATEGORY_DEFINITION))
#define UNITY_PROTOCOL_CATEGORY_DEFINITION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), UNITY_PROTOCOL_TYPE_CATEGORY_DEFINITION, UnityProtocolCategoryDefinitionClass))

typedef struct _UnityProtocolCategoryDefinition UnityProtocolCategoryDefinition;
typedef struct _UnityProtocolCategoryDefinitionClass UnityProtocolCategoryDefinitionClass;
typedef struct _UnityProtocolCategoryDefinitionPrivate UnityProtocolCategoryDefinitionPrivate;

#define UNITY_PROTOCOL_TYPE_FILTER_DEFINITION (unity_protocol_filter_definition_get_type ())
#define UNITY_PROTOCOL_FILTER_DEFINITION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_PROTOCOL_TYPE_FILTER_DEFINITION, UnityProtocolFilterDefinition))
#define UNITY_PROTOCOL_FILTER_DEFINITION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), UNITY_PROTOCOL_TYPE_FILTER_DEFINITION, UnityProtocolFilterDefinitionClass))
#define UNITY_PROTOCOL_IS_FILTER_DEFINITION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_PROTOCOL_TYPE_FILTER_DEFINITION))
#define UNITY_PROTOCOL_IS_FILTER_DEFINITION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), UNITY_PROTOCOL_TYPE_FILTER_DEFINITION))
#define UNITY_PROTOCOL_FILTER_DEFINITION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), UNITY_PROTOCOL_TYPE_FILTER_DEFINITION, UnityProtocolFilterDefinitionClass))

typedef struct _UnityProtocolFilterDefinition UnityProtocolFilterDefinition;
typedef struct _UnityProtocolFilterDefinitionClass UnityProtocolFilterDefinitionClass;
typedef struct _UnityProtocolFilterDefinitionPrivate UnityProtocolFilterDefinitionPrivate;

#define UNITY_PROTOCOL_TYPE_SCOPE_REGISTRY (unity_protocol_scope_registry_get_type ())
#define UNITY_PROTOCOL_SCOPE_REGISTRY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_PROTOCOL_TYPE_SCOPE_REGISTRY, UnityProtocolScopeRegistry))
#define UNITY_PROTOCOL_SCOPE_REGISTRY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), UNITY_PROTOCOL_TYPE_SCOPE_REGISTRY, UnityProtocolScopeRegistryClass))
#define UNITY_PROTOCOL_IS_SCOPE_REGISTRY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_PROTOCOL_TYPE_SCOPE_REGISTRY))
#define UNITY_PROTOCOL_IS_SCOPE_REGISTRY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), UNITY_PROTOCOL_TYPE_SCOPE_REGISTRY))
#define UNITY_PROTOCOL_SCOPE_REGISTRY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), UNITY_PROTOCOL_TYPE_SCOPE_REGISTRY, UnityProtocolScopeRegistryClass))

typedef struct _UnityProtocolScopeRegistry UnityProtocolScopeRegistry;
typedef struct _UnityProtocolScopeRegistryClass UnityProtocolScopeRegistryClass;
typedef struct _UnityProtocolScopeRegistryPrivate UnityProtocolScopeRegistryPrivate;

#define UNITY_PROTOCOL_SCOPE_REGISTRY_TYPE_SCOPE_REGISTRY_NODE (unity_protocol_scope_registry_scope_registry_node_get_type ())
#define UNITY_PROTOCOL_SCOPE_REGISTRY_SCOPE_REGISTRY_NODE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_PROTOCOL_SCOPE_REGISTRY_TYPE_SCOPE_REGISTRY_NODE, UnityProtocolScopeRegistryScopeRegistryNode))
#define UNITY_PROTOCOL_SCOPE_REGISTRY_SCOPE_REGISTRY_NODE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), UNITY_PROTOCOL_SCOPE_REGISTRY_TYPE_SCOPE_REGISTRY_NODE, UnityProtocolScopeRegistryScopeRegistryNodeClass))
#define UNITY_PROTOCOL_SCOPE_REGISTRY_IS_SCOPE_REGISTRY_NODE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_PROTOCOL_SCOPE_REGISTRY_TYPE_SCOPE_REGISTRY_NODE))
#define UNITY_PROTOCOL_SCOPE_REGISTRY_IS_SCOPE_REGISTRY_NODE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), UNITY_PROTOCOL_SCOPE_REGISTRY_TYPE_SCOPE_REGISTRY_NODE))
#define UNITY_PROTOCOL_SCOPE_REGISTRY_SCOPE_REGISTRY_NODE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), UNITY_PROTOCOL_SCOPE_REGISTRY_TYPE_SCOPE_REGISTRY_NODE, UnityProtocolScopeRegistryScopeRegistryNodeClass))

typedef struct _UnityProtocolScopeRegistryScopeRegistryNode UnityProtocolScopeRegistryScopeRegistryNode;
typedef struct _UnityProtocolScopeRegistryScopeRegistryNodeClass UnityProtocolScopeRegistryScopeRegistryNodeClass;

#define UNITY_PROTOCOL_SCOPE_REGISTRY_TYPE_SCOPE_METADATA (unity_protocol_scope_registry_scope_metadata_get_type ())
#define UNITY_PROTOCOL_SCOPE_REGISTRY_SCOPE_METADATA(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_PROTOCOL_SCOPE_REGISTRY_TYPE_SCOPE_METADATA, UnityProtocolScopeRegistryScopeMetadata))
#define UNITY_PROTOCOL_SCOPE_REGISTRY_SCOPE_METADATA_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), UNITY_PROTOCOL_SCOPE_REGISTRY_TYPE_SCOPE_METADATA, UnityProtocolScopeRegistryScopeMetadataClass))
#define UNITY_PROTOCOL_SCOPE_REGISTRY_IS_SCOPE_METADATA(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_PROTOCOL_SCOPE_REGISTRY_TYPE_SCOPE_METADATA))
#define UNITY_PROTOCOL_SCOPE_REGISTRY_IS_SCOPE_METADATA_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), UNITY_PROTOCOL_SCOPE_REGISTRY_TYPE_SCOPE_METADATA))
#define UNITY_PROTOCOL_SCOPE_REGISTRY_SCOPE_METADATA_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), UNITY_PROTOCOL_SCOPE_REGISTRY_TYPE_SCOPE_METADATA, UnityProtocolScopeRegistryScopeMetadataClass))

typedef struct _UnityProtocolScopeRegistryScopeMetadata UnityProtocolScopeRegistryScopeMetadata;
typedef struct _UnityProtocolScopeRegistryScopeMetadataClass UnityProtocolScopeRegistryScopeMetadataClass;
typedef struct _UnityProtocolScopeRegistryScopeMetadataPrivate UnityProtocolScopeRegistryScopeMetadataPrivate;
typedef struct _UnityProtocolScopeRegistryScopeRegistryNodePrivate UnityProtocolScopeRegistryScopeRegistryNodePrivate;

#define UNITY_PROTOCOL_TYPE_SCOPE_GROUP_SCOPE_INFO (unity_protocol_scope_group_scope_info_get_type ())
typedef struct _UnityProtocolScopeGroupScopeInfo UnityProtocolScopeGroupScopeInfo;

#define UNITY_PROTOCOL_TYPE_SCOPE_GROUP_CONFIG (unity_protocol_scope_group_config_get_type ())
#define UNITY_PROTOCOL_SCOPE_GROUP_CONFIG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_PROTOCOL_TYPE_SCOPE_GROUP_CONFIG, UnityProtocolScopeGroupConfig))
#define UNITY_PROTOCOL_SCOPE_GROUP_CONFIG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), UNITY_PROTOCOL_TYPE_SCOPE_GROUP_CONFIG, UnityProtocolScopeGroupConfigClass))
#define UNITY_PROTOCOL_IS_SCOPE_GROUP_CONFIG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_PROTOCOL_TYPE_SCOPE_GROUP_CONFIG))
#define UNITY_PROTOCOL_IS_SCOPE_GROUP_CONFIG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), UNITY_PROTOCOL_TYPE_SCOPE_GROUP_CONFIG))
#define UNITY_PROTOCOL_SCOPE_GROUP_CONFIG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), UNITY_PROTOCOL_TYPE_SCOPE_GROUP_CONFIG, UnityProtocolScopeGroupConfigClass))

typedef struct _UnityProtocolScopeGroupConfig UnityProtocolScopeGroupConfig;
typedef struct _UnityProtocolScopeGroupConfigClass UnityProtocolScopeGroupConfigClass;
typedef struct _UnityProtocolScopeGroupConfigPrivate UnityProtocolScopeGroupConfigPrivate;

#define UNITY_PROTOCOL_TYPE_PREVIEW_PLAYER (unity_protocol_preview_player_get_type ())
#define UNITY_PROTOCOL_PREVIEW_PLAYER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_PROTOCOL_TYPE_PREVIEW_PLAYER, UnityProtocolPreviewPlayer))
#define UNITY_PROTOCOL_PREVIEW_PLAYER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), UNITY_PROTOCOL_TYPE_PREVIEW_PLAYER, UnityProtocolPreviewPlayerClass))
#define UNITY_PROTOCOL_IS_PREVIEW_PLAYER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_PROTOCOL_TYPE_PREVIEW_PLAYER))
#define UNITY_PROTOCOL_IS_PREVIEW_PLAYER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), UNITY_PROTOCOL_TYPE_PREVIEW_PLAYER))
#define UNITY_PROTOCOL_PREVIEW_PLAYER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), UNITY_PROTOCOL_TYPE_PREVIEW_PLAYER, UnityProtocolPreviewPlayerClass))

typedef struct _UnityProtocolPreviewPlayer UnityProtocolPreviewPlayer;
typedef struct _UnityProtocolPreviewPlayerClass UnityProtocolPreviewPlayerClass;
typedef struct _UnityProtocolPreviewPlayerPrivate UnityProtocolPreviewPlayerPrivate;

#define UNITY_PROTOCOL_TYPE_SCOPE_PROXY (unity_protocol_scope_proxy_get_type ())
#define UNITY_PROTOCOL_SCOPE_PROXY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_PROTOCOL_TYPE_SCOPE_PROXY, UnityProtocolScopeProxy))
#define UNITY_PROTOCOL_IS_SCOPE_PROXY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_PROTOCOL_TYPE_SCOPE_PROXY))
#define UNITY_PROTOCOL_SCOPE_PROXY_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), UNITY_PROTOCOL_TYPE_SCOPE_PROXY, UnityProtocolScopeProxyIface))

typedef struct _UnityProtocolScopeProxy UnityProtocolScopeProxy;
typedef struct _UnityProtocolScopeProxyIface UnityProtocolScopeProxyIface;

struct _UnityProtocolAnnotatedIcon {
	GObject parent_instance;
	UnityProtocolAnnotatedIconPrivate * priv;
};

struct _UnityProtocolAnnotatedIconClass {
	GObjectClass parent_class;
};

struct _UnityProtocolActivationReplyRaw {
	gchar* uri;
	guint handled;
	GHashTable* hints;
};

typedef enum  {
	UNITY_PROTOCOL_SCOPE_ERROR_REQUEST_FAILED,
	UNITY_PROTOCOL_SCOPE_ERROR_DATA_MISMATCH,
	UNITY_PROTOCOL_SCOPE_ERROR_INVALID_CHANNEL,
	UNITY_PROTOCOL_SCOPE_ERROR_SEARCH_CANCELLED,
	UNITY_PROTOCOL_SCOPE_ERROR_DISABLED_CONTENT,
	UNITY_PROTOCOL_SCOPE_ERROR_UNKNOWN
} UnityProtocolScopeError;
#define UNITY_PROTOCOL_SCOPE_ERROR unity_protocol_scope_error_quark ()

struct _UnityProtocolScopeServiceIface {
	GTypeInterface parent_iface;
	void (*activate) (UnityProtocolScopeService* self, const gchar* channel_id, GVariant** result_arr, gint result_arr_length1, guint action_type, GHashTable* hints, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
	void (*activate_finish) (UnityProtocolScopeService* self, GAsyncResult* _res_, UnityProtocolActivationReplyRaw* result, GError** error);
	void (*search) (UnityProtocolScopeService* self, const gchar* channel_id, const gchar* search_string, GHashTable* hints, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
	GHashTable* (*search_finish) (UnityProtocolScopeService* self, GAsyncResult* _res_, GError** error);
	void (*open_channel) (UnityProtocolScopeService* self, guint channel_type, GHashTable* hints, GCancellable* cancellable, const char* sender, GAsyncReadyCallback _callback_, gpointer _user_data_);
	gchar* (*open_channel_finish) (UnityProtocolScopeService* self, GAsyncResult* _res_, GHashTable** out_hints, GError** error);
	void (*close_channel) (UnityProtocolScopeService* self, const gchar* channel_id, GHashTable* hints, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
	void (*close_channel_finish) (UnityProtocolScopeService* self, GAsyncResult* _res_, GError** error);
	void (*push_results) (UnityProtocolScopeService* self, const gchar* channel_id, const gchar* search_string, const gchar* source_scope_id, GVariant* result_variant, gchar** categories, gint categories_length1, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
	GHashTable* (*push_results_finish) (UnityProtocolScopeService* self, GAsyncResult* _res_, GError** error);
	void (*set_view_type) (UnityProtocolScopeService* self, guint view_type, GAsyncReadyCallback _callback_, gpointer _user_data_);
	void (*set_view_type_finish) (UnityProtocolScopeService* self, GAsyncResult* _res_, GError** error);
	gint (*get_protocol_version) (UnityProtocolScopeService* self);
	gboolean (*get_visible) (UnityProtocolScopeService* self);
	gboolean (*get_is_master) (UnityProtocolScopeService* self);
	gchar* (*get_search_hint) (UnityProtocolScopeService* self);
	GHashTable* (*get_metadata) (UnityProtocolScopeService* self);
	GHashTable* (*get_optional_metadata) (UnityProtocolScopeService* self);
	GVariant* (*get_categories) (UnityProtocolScopeService* self);
	GVariant* (*get_filters) (UnityProtocolScopeService* self);
	GHashTable* (*get_hints) (UnityProtocolScopeService* self);
};

struct _UnityProtocolInfoHintRaw {
	gchar* id;
	gchar* display_name;
	gchar* icon_hint;
	GVariant* value;
};

struct _UnityProtocolPreviewActionRaw {
	gchar* id;
	gchar* display_name;
	gchar* icon_hint;
	guint layout_hint;
	GHashTable* hints;
};

struct _UnityProtocolPreview {
	GObject parent_instance;
	UnityProtocolPreviewPrivate * priv;
};

struct _UnityProtocolPreviewClass {
	GObjectClass parent_class;
	void (*begin_updates) (UnityProtocolPreview* self);
	GHashTable* (*end_updates_as_hashtable) (UnityProtocolPreview* self);
	GVariant* (*end_updates) (UnityProtocolPreview* self);
	const gchar* (*get_renderer_name) (UnityProtocolPreview* self);
	void (*update_property) (UnityProtocolPreview* self, GHashTable* properties);
	void (*add_properties) (UnityProtocolPreview* self, GHashTable* properties);
};

struct _UnityProtocolGenericPreview {
	UnityProtocolPreview parent_instance;
	UnityProtocolGenericPreviewPrivate * priv;
};

struct _UnityProtocolGenericPreviewClass {
	UnityProtocolPreviewClass parent_class;
};

struct _UnityProtocolApplicationPreview {
	UnityProtocolPreview parent_instance;
	UnityProtocolApplicationPreviewPrivate * priv;
};

struct _UnityProtocolApplicationPreviewClass {
	UnityProtocolPreviewClass parent_class;
};

struct _UnityProtocolMusicPreview {
	UnityProtocolPreview parent_instance;
	UnityProtocolMusicPreviewPrivate * priv;
};

struct _UnityProtocolMusicPreviewClass {
	UnityProtocolPreviewClass parent_class;
};

struct _UnityProtocolPaymentPreview {
	UnityProtocolPreview parent_instance;
	UnityProtocolPaymentPreviewPrivate * priv;
};

struct _UnityProtocolPaymentPreviewClass {
	UnityProtocolPreviewClass parent_class;
};

struct _UnityProtocolMoviePreview {
	UnityProtocolPreview parent_instance;
	UnityProtocolMoviePreviewPrivate * priv;
};

struct _UnityProtocolMoviePreviewClass {
	UnityProtocolPreviewClass parent_class;
};

struct _UnityProtocolSocialPreviewCommentRaw {
	gchar* id;
	gchar* display_name;
	gchar* content;
	gchar* time;
};

struct _UnityProtocolSocialPreview {
	UnityProtocolPreview parent_instance;
	UnityProtocolSocialPreviewPrivate * priv;
	UnityProtocolSocialPreviewCommentRaw* comments;
	gint comments_length1;
};

struct _UnityProtocolSocialPreviewClass {
	UnityProtocolPreviewClass parent_class;
};

struct _UnityProtocolSeriesItemRaw {
	gchar* uri;
	gchar* title;
	gchar* icon_hint;
};

struct _UnityProtocolSeriesPreview {
	UnityProtocolPreview parent_instance;
	UnityProtocolSeriesPreviewPrivate * priv;
};

struct _UnityProtocolSeriesPreviewClass {
	UnityProtocolPreviewClass parent_class;
};

struct _UnityProtocolMetaDataColumnInfo {
	GTypeInstance parent_instance;
	volatile int ref_count;
	UnityProtocolMetaDataColumnInfoPrivate * priv;
};

struct _UnityProtocolMetaDataColumnInfoClass {
	GTypeClass parent_class;
	void (*finalize) (UnityProtocolMetaDataColumnInfo *self);
	gboolean (*equals) (UnityProtocolMetaDataColumnInfo* self, UnityProtocolMetaDataColumnInfo* m);
};

struct _UnityProtocolMetaDataSchemaInfo {
	GTypeInstance parent_instance;
	volatile int ref_count;
	UnityProtocolMetaDataSchemaInfoPrivate * priv;
	GPtrArray* columns;
};

struct _UnityProtocolMetaDataSchemaInfoClass {
	GTypeClass parent_class;
	void (*finalize) (UnityProtocolMetaDataSchemaInfo *self);
};

struct _UnityProtocolCategoryDefinition {
	GTypeInstance parent_instance;
	volatile int ref_count;
	UnityProtocolCategoryDefinitionPrivate * priv;
};

struct _UnityProtocolCategoryDefinitionClass {
	GTypeClass parent_class;
	void (*finalize) (UnityProtocolCategoryDefinition *self);
};

struct _UnityProtocolFilterDefinition {
	GTypeInstance parent_instance;
	volatile int ref_count;
	UnityProtocolFilterDefinitionPrivate * priv;
};

struct _UnityProtocolFilterDefinitionClass {
	GTypeClass parent_class;
	void (*finalize) (UnityProtocolFilterDefinition *self);
};

struct _UnityProtocolScopeRegistry {
	GTypeInstance parent_instance;
	volatile int ref_count;
	UnityProtocolScopeRegistryPrivate * priv;
};

struct _UnityProtocolScopeRegistryClass {
	GTypeClass parent_class;
	void (*finalize) (UnityProtocolScopeRegistry *self);
};

struct _UnityProtocolScopeRegistryScopeMetadata {
	GTypeInstance parent_instance;
	volatile int ref_count;
	UnityProtocolScopeRegistryScopeMetadataPrivate * priv;
	gchar* id;
	gchar* domain;
	gchar* full_path;
	gchar* name;
	gchar* dbus_path;
	gchar* dbus_name;
	gchar* icon;
	gchar* category_icon;
	UnityProtocolMetaDataSchemaInfo* required_metadata;
	UnityProtocolMetaDataSchemaInfo* optional_metadata;
	GSList* keywords;
	gchar* type;
	gchar* description;
	gchar* search_hint;
	gboolean is_master;
	gboolean global_searches;
	gboolean visible;
	gboolean remote_content;
	gchar* query_binary;
	gchar* query_pattern;
	gchar* shortcut;
	gchar* no_content_hint;
	gboolean no_export;
	gchar* module;
	gchar* module_type;
	gint timeout;
};

struct _UnityProtocolScopeRegistryScopeMetadataClass {
	GTypeClass parent_class;
	void (*finalize) (UnityProtocolScopeRegistryScopeMetadata *self);
};

struct _UnityProtocolScopeRegistryScopeRegistryNode {
	GTypeInstance parent_instance;
	volatile int ref_count;
	UnityProtocolScopeRegistryScopeRegistryNodePrivate * priv;
	UnityProtocolScopeRegistryScopeMetadata* scope_info;
	GSList* sub_scopes;
};

struct _UnityProtocolScopeRegistryScopeRegistryNodeClass {
	GTypeClass parent_class;
	void (*finalize) (UnityProtocolScopeRegistryScopeRegistryNode *self);
};

struct _UnityProtocolScopeGroupScopeInfo {
	gchar* scope_id;
	gchar* dbus_name;
	gchar* dbus_path;
	gchar* module;
	gchar* module_type;
};

struct _UnityProtocolScopeGroupConfig {
	GTypeInstance parent_instance;
	volatile int ref_count;
	UnityProtocolScopeGroupConfigPrivate * priv;
	GList* scopes;
	gint timeout;
};

struct _UnityProtocolScopeGroupConfigClass {
	GTypeClass parent_class;
	void (*finalize) (UnityProtocolScopeGroupConfig *self);
};

struct _UnityProtocolPreviewPlayer {
	GObject parent_instance;
	UnityProtocolPreviewPlayerPrivate * priv;
};

struct _UnityProtocolPreviewPlayerClass {
	GObjectClass parent_class;
};

struct _UnityProtocolScopeProxyIface {
	GTypeInterface parent_iface;
	void (*activate) (UnityProtocolScopeProxy* self, const gchar* channel_id, GVariant** result_arr, gint result_arr_length1, UnityProtocolActionType action_type, GHashTable* hints, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
	void (*activate_finish) (UnityProtocolScopeProxy* self, GAsyncResult* _res_, UnityProtocolActivationReplyRaw* result, GError** error);
	void (*search) (UnityProtocolScopeProxy* self, const gchar* channel_id, const gchar* search_string, GHashTable* hints, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
	GHashTable* (*search_finish) (UnityProtocolScopeProxy* self, GAsyncResult* _res_, GError** error);
	void (*open_channel) (UnityProtocolScopeProxy* self, UnityProtocolChannelType channel_type, UnityProtocolChannelFlags channel_flags, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
	gchar* (*open_channel_finish) (UnityProtocolScopeProxy* self, GAsyncResult* _res_, DeeSerializableModel** results_model, GError** error);
	void (*close_channel) (UnityProtocolScopeProxy* self, const gchar* channel_id, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
	void (*close_channel_finish) (UnityProtocolScopeProxy* self, GAsyncResult* _res_, GError** error);
	void (*set_active_sources) (UnityProtocolScopeProxy* self, const gchar* channel_id, gchar** sources, gint sources_length1, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
	void (*set_active_sources_finish) (UnityProtocolScopeProxy* self, GAsyncResult* _res_, GError** error);
	void (*push_results) (UnityProtocolScopeProxy* self, const gchar* channel_id, const gchar* search_string, const gchar* source_scope_id, DeeSerializableModel* model, gchar** categories, gint categories_length1, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
	GHashTable* (*push_results_finish) (UnityProtocolScopeProxy* self, GAsyncResult* _res_, GError** error);
	gboolean (*get_visible) (UnityProtocolScopeProxy* self);
	gboolean (*get_is_master) (UnityProtocolScopeProxy* self);
	gboolean (*get_connected) (UnityProtocolScopeProxy* self);
	const gchar* (*get_search_hint) (UnityProtocolScopeProxy* self);
	UnityProtocolViewType (*get_view_type) (UnityProtocolScopeProxy* self);
	void (*set_view_type) (UnityProtocolScopeProxy* self, UnityProtocolViewType value);
	DeeSerializableModel* (*get_filters_model) (UnityProtocolScopeProxy* self);
	DeeSerializableModel* (*get_categories_model) (UnityProtocolScopeProxy* self);
	GVariant* (*get_sources) (UnityProtocolScopeProxy* self);
	GHashTable* (*get_metadata) (UnityProtocolScopeProxy* self);
	GHashTable* (*get_optional_metadata) (UnityProtocolScopeProxy* self);
};

VALA_EXTERN GType unity_protocol_category_type_get_type (void) G_GNUC_CONST ;
VALA_EXTERN GType unity_protocol_annotated_icon_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (UnityProtocolAnnotatedIcon, g_object_unref)
VALA_EXTERN UnityProtocolAnnotatedIcon* unity_protocol_annotated_icon_new (GIcon* base_icon);
VALA_EXTERN UnityProtocolAnnotatedIcon* unity_protocol_annotated_icon_construct (GType object_type,
                                                                     GIcon* base_icon);
VALA_EXTERN void unity_protocol_annotated_icon_add_hint (UnityProtocolAnnotatedIcon* self,
                                             const gchar* name,
                                             GVariant* value);
VALA_EXTERN GVariant* unity_protocol_annotated_icon_get_hint (UnityProtocolAnnotatedIcon* self,
                                                  const gchar* name);
VALA_EXTERN void unity_protocol_annotated_icon_set_colorize_rgba (UnityProtocolAnnotatedIcon* self,
                                                      gdouble r,
                                                      gdouble g,
                                                      gdouble b,
                                                      gdouble a);
VALA_EXTERN GIcon* unity_protocol_annotated_icon_get_icon (UnityProtocolAnnotatedIcon* self);
VALA_EXTERN void unity_protocol_annotated_icon_set_icon (UnityProtocolAnnotatedIcon* self,
                                             GIcon* value);
VALA_EXTERN const gchar* unity_protocol_annotated_icon_get_ribbon (UnityProtocolAnnotatedIcon* self);
VALA_EXTERN void unity_protocol_annotated_icon_set_ribbon (UnityProtocolAnnotatedIcon* self,
                                               const gchar* value);
VALA_EXTERN UnityProtocolCategoryType unity_protocol_annotated_icon_get_category (UnityProtocolAnnotatedIcon* self);
VALA_EXTERN void unity_protocol_annotated_icon_set_category (UnityProtocolAnnotatedIcon* self,
                                                 UnityProtocolCategoryType value);
VALA_EXTERN gboolean unity_protocol_annotated_icon_get_use_small_icon (UnityProtocolAnnotatedIcon* self);
VALA_EXTERN void unity_protocol_annotated_icon_set_use_small_icon (UnityProtocolAnnotatedIcon* self,
                                                       gboolean value);
VALA_EXTERN guint32 unity_protocol_annotated_icon_get_colorize_value (UnityProtocolAnnotatedIcon* self);
VALA_EXTERN void unity_protocol_annotated_icon_set_colorize_value (UnityProtocolAnnotatedIcon* self,
                                                       guint32 value);
VALA_EXTERN GType unity_protocol_activation_reply_raw_get_type (void) G_GNUC_CONST ;
VALA_EXTERN UnityProtocolActivationReplyRaw* unity_protocol_activation_reply_raw_dup (const UnityProtocolActivationReplyRaw* self);
VALA_EXTERN void unity_protocol_activation_reply_raw_free (UnityProtocolActivationReplyRaw* self);
VALA_EXTERN void unity_protocol_activation_reply_raw_copy (const UnityProtocolActivationReplyRaw* self,
                                               UnityProtocolActivationReplyRaw* dest);
VALA_EXTERN void unity_protocol_activation_reply_raw_destroy (UnityProtocolActivationReplyRaw* self);
G_DEFINE_AUTO_CLEANUP_CLEAR_FUNC (UnityProtocolActivationReplyRaw, unity_protocol_activation_reply_raw_destroy)
VALA_EXTERN GType unity_protocol_handled_type_get_type (void) G_GNUC_CONST ;
VALA_EXTERN GType unity_protocol_action_type_get_type (void) G_GNUC_CONST ;
VALA_EXTERN GType unity_protocol_view_type_get_type (void) G_GNUC_CONST ;
VALA_EXTERN GType unity_protocol_channel_type_get_type (void) G_GNUC_CONST ;
VALA_EXTERN GType unity_protocol_channel_flags_get_type (void) G_GNUC_CONST ;
VALA_EXTERN UnityProtocolChannelFlags unity_protocol_channel_flags_from_hints (GHashTable* hints);
VALA_EXTERN GQuark unity_protocol_scope_error_quark (void);
VALA_EXTERN GType unity_protocol_scope_error_get_type (void) G_GNUC_CONST ;
VALA_EXTERN GType unity_protocol_scope_service_proxy_get_type (void) G_GNUC_CONST ;
VALA_EXTERN guint unity_protocol_scope_service_register_object (void* object,
                                                    GDBusConnection* connection,
                                                    const gchar* path,
                                                    GError** error);
VALA_EXTERN GType unity_protocol_scope_service_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (UnityProtocolScopeService, g_object_unref)
VALA_EXTERN void unity_protocol_scope_service_activate (UnityProtocolScopeService* self,
                                            const gchar* channel_id,
                                            GVariant** result_arr,
                                            gint result_arr_length1,
                                            guint action_type,
                                            GHashTable* hints,
                                            GCancellable* cancellable,
                                            GAsyncReadyCallback _callback_,
                                            gpointer _user_data_);
VALA_EXTERN void unity_protocol_scope_service_activate_finish (UnityProtocolScopeService* self,
                                                   GAsyncResult* _res_,
                                                   UnityProtocolActivationReplyRaw* result,
                                                   GError** error);
VALA_EXTERN void unity_protocol_scope_service_search (UnityProtocolScopeService* self,
                                          const gchar* channel_id,
                                          const gchar* search_string,
                                          GHashTable* hints,
                                          GCancellable* cancellable,
                                          GAsyncReadyCallback _callback_,
                                          gpointer _user_data_);
VALA_EXTERN GHashTable* unity_protocol_scope_service_search_finish (UnityProtocolScopeService* self,
                                                        GAsyncResult* _res_,
                                                        GError** error);
VALA_EXTERN void unity_protocol_scope_service_open_channel (UnityProtocolScopeService* self,
                                                guint channel_type,
                                                GHashTable* hints,
                                                GCancellable* cancellable,
                                                const char* sender,
                                                GAsyncReadyCallback _callback_,
                                                gpointer _user_data_);
VALA_EXTERN gchar* unity_protocol_scope_service_open_channel_finish (UnityProtocolScopeService* self,
                                                         GAsyncResult* _res_,
                                                         GHashTable** out_hints,
                                                         GError** error);
VALA_EXTERN void unity_protocol_scope_service_close_channel (UnityProtocolScopeService* self,
                                                 const gchar* channel_id,
                                                 GHashTable* hints,
                                                 GCancellable* cancellable,
                                                 GAsyncReadyCallback _callback_,
                                                 gpointer _user_data_);
VALA_EXTERN void unity_protocol_scope_service_close_channel_finish (UnityProtocolScopeService* self,
                                                        GAsyncResult* _res_,
                                                        GError** error);
VALA_EXTERN void unity_protocol_scope_service_push_results (UnityProtocolScopeService* self,
                                                const gchar* channel_id,
                                                const gchar* search_string,
                                                const gchar* source_scope_id,
                                                GVariant* result_variant,
                                                gchar** categories,
                                                gint categories_length1,
                                                GCancellable* cancellable,
                                                GAsyncReadyCallback _callback_,
                                                gpointer _user_data_);
VALA_EXTERN GHashTable* unity_protocol_scope_service_push_results_finish (UnityProtocolScopeService* self,
                                                              GAsyncResult* _res_,
                                                              GError** error);
VALA_EXTERN void unity_protocol_scope_service_set_view_type (UnityProtocolScopeService* self,
                                                 guint view_type,
                                                 GAsyncReadyCallback _callback_,
                                                 gpointer _user_data_);
VALA_EXTERN void unity_protocol_scope_service_set_view_type_finish (UnityProtocolScopeService* self,
                                                        GAsyncResult* _res_,
                                                        GError** error);
VALA_EXTERN gint unity_protocol_scope_service_get_protocol_version (UnityProtocolScopeService* self);
VALA_EXTERN gboolean unity_protocol_scope_service_get_visible (UnityProtocolScopeService* self);
VALA_EXTERN gboolean unity_protocol_scope_service_get_is_master (UnityProtocolScopeService* self);
VALA_EXTERN gchar* unity_protocol_scope_service_get_search_hint (UnityProtocolScopeService* self);
VALA_EXTERN GHashTable* unity_protocol_scope_service_get_metadata (UnityProtocolScopeService* self);
VALA_EXTERN GHashTable* unity_protocol_scope_service_get_optional_metadata (UnityProtocolScopeService* self);
VALA_EXTERN GVariant* unity_protocol_scope_service_get_categories (UnityProtocolScopeService* self);
VALA_EXTERN GVariant* unity_protocol_scope_service_get_filters (UnityProtocolScopeService* self);
VALA_EXTERN GHashTable* unity_protocol_scope_service_get_hints (UnityProtocolScopeService* self);
VALA_EXTERN GType unity_protocol_layout_hint_get_type (void) G_GNUC_CONST ;
VALA_EXTERN GType unity_protocol_info_hint_raw_get_type (void) G_GNUC_CONST ;
VALA_EXTERN UnityProtocolInfoHintRaw* unity_protocol_info_hint_raw_dup (const UnityProtocolInfoHintRaw* self);
VALA_EXTERN void unity_protocol_info_hint_raw_free (UnityProtocolInfoHintRaw* self);
VALA_EXTERN void unity_protocol_info_hint_raw_copy (const UnityProtocolInfoHintRaw* self,
                                        UnityProtocolInfoHintRaw* dest);
VALA_EXTERN void unity_protocol_info_hint_raw_destroy (UnityProtocolInfoHintRaw* self);
G_DEFINE_AUTO_CLEANUP_CLEAR_FUNC (UnityProtocolInfoHintRaw, unity_protocol_info_hint_raw_destroy)
VALA_EXTERN GType unity_protocol_preview_action_raw_get_type (void) G_GNUC_CONST ;
VALA_EXTERN UnityProtocolPreviewActionRaw* unity_protocol_preview_action_raw_dup (const UnityProtocolPreviewActionRaw* self);
VALA_EXTERN void unity_protocol_preview_action_raw_free (UnityProtocolPreviewActionRaw* self);
VALA_EXTERN void unity_protocol_preview_action_raw_copy (const UnityProtocolPreviewActionRaw* self,
                                             UnityProtocolPreviewActionRaw* dest);
VALA_EXTERN void unity_protocol_preview_action_raw_destroy (UnityProtocolPreviewActionRaw* self);
G_DEFINE_AUTO_CLEANUP_CLEAR_FUNC (UnityProtocolPreviewActionRaw, unity_protocol_preview_action_raw_destroy)
VALA_EXTERN void unity_protocol_preview_action_raw_init (UnityProtocolPreviewActionRaw *self);
VALA_EXTERN UnityProtocolPreviewActionRaw* unity_protocol_preview_action_raw_from_variant (GVariant* v);
VALA_EXTERN GVariant* unity_protocol_preview_action_raw_to_variant (UnityProtocolPreviewActionRaw *self);
VALA_EXTERN GType unity_protocol_preview_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (UnityProtocolPreview, g_object_unref)
VALA_EXTERN void unity_protocol_preview_begin_updates (UnityProtocolPreview* self);
VALA_EXTERN GHashTable* unity_protocol_preview_end_updates_as_hashtable (UnityProtocolPreview* self);
VALA_EXTERN GVariant* unity_protocol_preview_end_updates (UnityProtocolPreview* self);
VALA_EXTERN void unity_protocol_preview_add_action (UnityProtocolPreview* self,
                                        const gchar* id,
                                        const gchar* display_name,
                                        GIcon* icon,
                                        guint layout_hint);
VALA_EXTERN void unity_protocol_preview_add_action_with_hints (UnityProtocolPreview* self,
                                                   const gchar* id,
                                                   const gchar* display_name,
                                                   GIcon* icon,
                                                   guint layout_hint,
                                                   GHashTable* hints);
VALA_EXTERN UnityProtocolPreviewActionRaw* unity_protocol_preview_get_actions (UnityProtocolPreview* self,
                                                                   gint* result_length1);
VALA_EXTERN void unity_protocol_preview_add_info_hint (UnityProtocolPreview* self,
                                           const gchar* id,
                                           const gchar* display_name,
                                           GIcon* icon_hint,
                                           GVariant* value);
VALA_EXTERN const gchar* unity_protocol_preview_get_renderer_name (UnityProtocolPreview* self);
VALA_EXTERN UnityProtocolInfoHintRaw* unity_protocol_preview_get_info_hints (UnityProtocolPreview* self,
                                                                 gint* result_length1);
VALA_EXTERN void unity_protocol_preview_set_no_details (UnityProtocolPreview* self,
                                            gboolean val);
VALA_EXTERN gboolean unity_protocol_preview_get_no_details (UnityProtocolPreview* self);
VALA_EXTERN void unity_protocol_preview_preview_closed (UnityProtocolPreview* self);
VALA_EXTERN void unity_protocol_preview_update_property (UnityProtocolPreview* self,
                                             GHashTable* properties);
VALA_EXTERN UnityProtocolPreview* unity_protocol_preview_parse (GVariant* data);
VALA_EXTERN UnityProtocolPreview* unity_protocol_preview_construct (GType object_type);
VALA_EXTERN const gchar* unity_protocol_preview_get_title (UnityProtocolPreview* self);
VALA_EXTERN void unity_protocol_preview_set_title (UnityProtocolPreview* self,
                                       const gchar* value);
VALA_EXTERN const gchar* unity_protocol_preview_get_subtitle (UnityProtocolPreview* self);
VALA_EXTERN void unity_protocol_preview_set_subtitle (UnityProtocolPreview* self,
                                          const gchar* value);
VALA_EXTERN const gchar* unity_protocol_preview_get_description (UnityProtocolPreview* self);
VALA_EXTERN void unity_protocol_preview_set_description (UnityProtocolPreview* self,
                                             const gchar* value);
VALA_EXTERN const gchar* unity_protocol_preview_get_image_source_uri (UnityProtocolPreview* self);
VALA_EXTERN void unity_protocol_preview_set_image_source_uri (UnityProtocolPreview* self,
                                                  const gchar* value);
VALA_EXTERN GIcon* unity_protocol_preview_get_image (UnityProtocolPreview* self);
VALA_EXTERN void unity_protocol_preview_set_image (UnityProtocolPreview* self,
                                       GIcon* value);
VALA_EXTERN GType unity_protocol_generic_preview_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (UnityProtocolGenericPreview, g_object_unref)
VALA_EXTERN UnityProtocolGenericPreview* unity_protocol_generic_preview_new (void);
VALA_EXTERN UnityProtocolGenericPreview* unity_protocol_generic_preview_construct (GType object_type);
VALA_EXTERN GType unity_protocol_application_preview_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (UnityProtocolApplicationPreview, g_object_unref)
VALA_EXTERN UnityProtocolApplicationPreview* unity_protocol_application_preview_new (void);
VALA_EXTERN UnityProtocolApplicationPreview* unity_protocol_application_preview_construct (GType object_type);
VALA_EXTERN GIcon* unity_protocol_application_preview_get_app_icon (UnityProtocolApplicationPreview* self);
VALA_EXTERN void unity_protocol_application_preview_set_app_icon (UnityProtocolApplicationPreview* self,
                                                      GIcon* value);
VALA_EXTERN const gchar* unity_protocol_application_preview_get_license (UnityProtocolApplicationPreview* self);
VALA_EXTERN void unity_protocol_application_preview_set_license (UnityProtocolApplicationPreview* self,
                                                     const gchar* value);
VALA_EXTERN const gchar* unity_protocol_application_preview_get_copyright (UnityProtocolApplicationPreview* self);
VALA_EXTERN void unity_protocol_application_preview_set_copyright (UnityProtocolApplicationPreview* self,
                                                       const gchar* value);
VALA_EXTERN const gchar* unity_protocol_application_preview_get_last_update (UnityProtocolApplicationPreview* self);
VALA_EXTERN void unity_protocol_application_preview_set_last_update (UnityProtocolApplicationPreview* self,
                                                         const gchar* value);
VALA_EXTERN gfloat unity_protocol_application_preview_get_rating (UnityProtocolApplicationPreview* self);
VALA_EXTERN void unity_protocol_application_preview_set_rating (UnityProtocolApplicationPreview* self,
                                                    gfloat value);
VALA_EXTERN guint unity_protocol_application_preview_get_num_ratings (UnityProtocolApplicationPreview* self);
VALA_EXTERN void unity_protocol_application_preview_set_num_ratings (UnityProtocolApplicationPreview* self,
                                                         guint value);
VALA_EXTERN GType unity_protocol_play_state_get_type (void) G_GNUC_CONST ;
VALA_EXTERN GType unity_protocol_music_preview_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (UnityProtocolMusicPreview, g_object_unref)
VALA_EXTERN UnityProtocolMusicPreview* unity_protocol_music_preview_new (void);
VALA_EXTERN UnityProtocolMusicPreview* unity_protocol_music_preview_construct (GType object_type);
VALA_EXTERN const gchar* unity_protocol_music_preview_get_track_data_swarm_name (UnityProtocolMusicPreview* self);
VALA_EXTERN void unity_protocol_music_preview_set_track_data_swarm_name (UnityProtocolMusicPreview* self,
                                                             const gchar* value);
VALA_EXTERN const gchar* unity_protocol_music_preview_get_track_data_address (UnityProtocolMusicPreview* self);
VALA_EXTERN void unity_protocol_music_preview_set_track_data_address (UnityProtocolMusicPreview* self,
                                                          const gchar* value);
VALA_EXTERN DeeSerializableModel* unity_protocol_music_preview_get_track_model (UnityProtocolMusicPreview* self);
VALA_EXTERN void unity_protocol_music_preview_set_track_model (UnityProtocolMusicPreview* self,
                                                   DeeSerializableModel* value);
VALA_EXTERN GType unity_protocol_preview_payment_type_get_type (void) G_GNUC_CONST ;
VALA_EXTERN GType unity_protocol_payment_preview_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (UnityProtocolPaymentPreview, g_object_unref)
VALA_EXTERN UnityProtocolPaymentPreview* unity_protocol_payment_preview_new (void);
VALA_EXTERN UnityProtocolPaymentPreview* unity_protocol_payment_preview_construct (GType object_type);
VALA_EXTERN const gchar* unity_protocol_payment_preview_get_header (UnityProtocolPaymentPreview* self);
VALA_EXTERN void unity_protocol_payment_preview_set_header (UnityProtocolPaymentPreview* self,
                                                const gchar* value);
VALA_EXTERN const gchar* unity_protocol_payment_preview_get_email (UnityProtocolPaymentPreview* self);
VALA_EXTERN void unity_protocol_payment_preview_set_email (UnityProtocolPaymentPreview* self,
                                               const gchar* value);
VALA_EXTERN const gchar* unity_protocol_payment_preview_get_payment_method (UnityProtocolPaymentPreview* self);
VALA_EXTERN void unity_protocol_payment_preview_set_payment_method (UnityProtocolPaymentPreview* self,
                                                        const gchar* value);
VALA_EXTERN const gchar* unity_protocol_payment_preview_get_purchase_prize (UnityProtocolPaymentPreview* self);
VALA_EXTERN void unity_protocol_payment_preview_set_purchase_prize (UnityProtocolPaymentPreview* self,
                                                        const gchar* value);
VALA_EXTERN const gchar* unity_protocol_payment_preview_get_purchase_type (UnityProtocolPaymentPreview* self);
VALA_EXTERN void unity_protocol_payment_preview_set_purchase_type (UnityProtocolPaymentPreview* self,
                                                       const gchar* value);
VALA_EXTERN UnityProtocolPreviewPaymentType unity_protocol_payment_preview_get_preview_type (UnityProtocolPaymentPreview* self);
VALA_EXTERN void unity_protocol_payment_preview_set_preview_type (UnityProtocolPaymentPreview* self,
                                                      UnityProtocolPreviewPaymentType value);
VALA_EXTERN GType unity_protocol_movie_preview_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (UnityProtocolMoviePreview, g_object_unref)
VALA_EXTERN UnityProtocolMoviePreview* unity_protocol_movie_preview_new (void);
VALA_EXTERN UnityProtocolMoviePreview* unity_protocol_movie_preview_construct (GType object_type);
VALA_EXTERN const gchar* unity_protocol_movie_preview_get_year (UnityProtocolMoviePreview* self);
VALA_EXTERN void unity_protocol_movie_preview_set_year (UnityProtocolMoviePreview* self,
                                            const gchar* value);
VALA_EXTERN gfloat unity_protocol_movie_preview_get_rating (UnityProtocolMoviePreview* self);
VALA_EXTERN void unity_protocol_movie_preview_set_rating (UnityProtocolMoviePreview* self,
                                              gfloat value);
VALA_EXTERN guint unity_protocol_movie_preview_get_num_ratings (UnityProtocolMoviePreview* self);
VALA_EXTERN void unity_protocol_movie_preview_set_num_ratings (UnityProtocolMoviePreview* self,
                                                   guint value);
VALA_EXTERN GType unity_protocol_social_preview_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (UnityProtocolSocialPreview, g_object_unref)
VALA_EXTERN GType unity_protocol_social_preview_comment_raw_get_type (void) G_GNUC_CONST ;
VALA_EXTERN UnityProtocolSocialPreviewCommentRaw* unity_protocol_social_preview_comment_raw_dup (const UnityProtocolSocialPreviewCommentRaw* self);
VALA_EXTERN void unity_protocol_social_preview_comment_raw_free (UnityProtocolSocialPreviewCommentRaw* self);
VALA_EXTERN void unity_protocol_social_preview_comment_raw_copy (const UnityProtocolSocialPreviewCommentRaw* self,
                                                     UnityProtocolSocialPreviewCommentRaw* dest);
VALA_EXTERN void unity_protocol_social_preview_comment_raw_destroy (UnityProtocolSocialPreviewCommentRaw* self);
G_DEFINE_AUTO_CLEANUP_CLEAR_FUNC (UnityProtocolSocialPreviewCommentRaw, unity_protocol_social_preview_comment_raw_destroy)
VALA_EXTERN UnityProtocolSocialPreview* unity_protocol_social_preview_new (void);
VALA_EXTERN UnityProtocolSocialPreview* unity_protocol_social_preview_construct (GType object_type);
VALA_EXTERN void unity_protocol_social_preview_add_comment (UnityProtocolSocialPreview* self,
                                                const gchar* id,
                                                const gchar* display_name,
                                                const gchar* content,
                                                const gchar* time);
VALA_EXTERN UnityProtocolSocialPreviewCommentRaw* unity_protocol_social_preview_get_comments (UnityProtocolSocialPreview* self,
                                                                                  gint* result_length1);
VALA_EXTERN GIcon* unity_protocol_social_preview_get_avatar (UnityProtocolSocialPreview* self);
VALA_EXTERN void unity_protocol_social_preview_set_avatar (UnityProtocolSocialPreview* self,
                                               GIcon* value);
VALA_EXTERN const gchar* unity_protocol_social_preview_get_content (UnityProtocolSocialPreview* self);
VALA_EXTERN void unity_protocol_social_preview_set_content (UnityProtocolSocialPreview* self,
                                                const gchar* value);
VALA_EXTERN const gchar* unity_protocol_social_preview_get_sender (UnityProtocolSocialPreview* self);
VALA_EXTERN void unity_protocol_social_preview_set_sender (UnityProtocolSocialPreview* self,
                                               const gchar* value);
VALA_EXTERN GType unity_protocol_series_item_raw_get_type (void) G_GNUC_CONST ;
VALA_EXTERN UnityProtocolSeriesItemRaw* unity_protocol_series_item_raw_dup (const UnityProtocolSeriesItemRaw* self);
VALA_EXTERN void unity_protocol_series_item_raw_free (UnityProtocolSeriesItemRaw* self);
VALA_EXTERN void unity_protocol_series_item_raw_copy (const UnityProtocolSeriesItemRaw* self,
                                          UnityProtocolSeriesItemRaw* dest);
VALA_EXTERN void unity_protocol_series_item_raw_destroy (UnityProtocolSeriesItemRaw* self);
G_DEFINE_AUTO_CLEANUP_CLEAR_FUNC (UnityProtocolSeriesItemRaw, unity_protocol_series_item_raw_destroy)
VALA_EXTERN GType unity_protocol_series_preview_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (UnityProtocolSeriesPreview, g_object_unref)
VALA_EXTERN UnityProtocolSeriesPreview* unity_protocol_series_preview_new (void);
VALA_EXTERN UnityProtocolSeriesPreview* unity_protocol_series_preview_construct (GType object_type);
VALA_EXTERN void unity_protocol_series_preview_add_series_item (UnityProtocolSeriesPreview* self,
                                                    const gchar* title,
                                                    const gchar* uri,
                                                    GIcon* icon);
VALA_EXTERN UnityProtocolSeriesItemRaw* unity_protocol_series_preview_get_items (UnityProtocolSeriesPreview* self,
                                                                     gint* result_length1);
VALA_EXTERN gint unity_protocol_series_preview_get_selected_item (UnityProtocolSeriesPreview* self);
VALA_EXTERN void unity_protocol_series_preview_set_selected_item (UnityProtocolSeriesPreview* self,
                                                      gint value);
VALA_EXTERN UnityProtocolPreview* unity_protocol_series_preview_get_child_preview (UnityProtocolSeriesPreview* self);
VALA_EXTERN void unity_protocol_series_preview_set_child_preview (UnityProtocolSeriesPreview* self,
                                                      UnityProtocolPreview* value);
VALA_EXTERN gpointer unity_protocol_meta_data_column_info_ref (gpointer instance);
VALA_EXTERN void unity_protocol_meta_data_column_info_unref (gpointer instance);
VALA_EXTERN GParamSpec* unity_protocol_param_spec_meta_data_column_info (const gchar* name,
                                                             const gchar* nick,
                                                             const gchar* blurb,
                                                             GType object_type,
                                                             GParamFlags flags);
VALA_EXTERN void unity_protocol_value_set_meta_data_column_info (GValue* value,
                                                     gpointer v_object);
VALA_EXTERN void unity_protocol_value_take_meta_data_column_info (GValue* value,
                                                      gpointer v_object);
VALA_EXTERN gpointer unity_protocol_value_get_meta_data_column_info (const GValue* value);
VALA_EXTERN GType unity_protocol_meta_data_column_info_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (UnityProtocolMetaDataColumnInfo, unity_protocol_meta_data_column_info_unref)
VALA_EXTERN UnityProtocolMetaDataColumnInfo* unity_protocol_meta_data_column_info_new (const gchar* v,
                                                                           GError** error);
VALA_EXTERN UnityProtocolMetaDataColumnInfo* unity_protocol_meta_data_column_info_construct (GType object_type,
                                                                                 const gchar* v,
                                                                                 GError** error);
VALA_EXTERN gboolean unity_protocol_meta_data_column_info_equals (UnityProtocolMetaDataColumnInfo* self,
                                                      UnityProtocolMetaDataColumnInfo* m);
VALA_EXTERN const gchar* unity_protocol_meta_data_column_info_get_name (UnityProtocolMetaDataColumnInfo* self);
VALA_EXTERN const gchar* unity_protocol_meta_data_column_info_get_type_id (UnityProtocolMetaDataColumnInfo* self);
VALA_EXTERN gpointer unity_protocol_meta_data_schema_info_ref (gpointer instance);
VALA_EXTERN void unity_protocol_meta_data_schema_info_unref (gpointer instance);
VALA_EXTERN GParamSpec* unity_protocol_param_spec_meta_data_schema_info (const gchar* name,
                                                             const gchar* nick,
                                                             const gchar* blurb,
                                                             GType object_type,
                                                             GParamFlags flags);
VALA_EXTERN void unity_protocol_value_set_meta_data_schema_info (GValue* value,
                                                     gpointer v_object);
VALA_EXTERN void unity_protocol_value_take_meta_data_schema_info (GValue* value,
                                                      gpointer v_object);
VALA_EXTERN gpointer unity_protocol_value_get_meta_data_schema_info (const GValue* value);
VALA_EXTERN GType unity_protocol_meta_data_schema_info_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (UnityProtocolMetaDataSchemaInfo, unity_protocol_meta_data_schema_info_unref)
VALA_EXTERN UnityProtocolMetaDataSchemaInfo* unity_protocol_meta_data_schema_info_from_string (const gchar* mdinfo_str,
                                                                                   GError** error);
VALA_EXTERN GHashTable* unity_protocol_meta_data_schema_info_as_hash_table (UnityProtocolMetaDataSchemaInfo* self);
VALA_EXTERN gboolean unity_protocol_meta_data_schema_info_equals (UnityProtocolMetaDataSchemaInfo* self,
                                                      UnityProtocolMetaDataSchemaInfo* s);
VALA_EXTERN UnityProtocolMetaDataSchemaInfo* unity_protocol_meta_data_schema_info_new (void);
VALA_EXTERN UnityProtocolMetaDataSchemaInfo* unity_protocol_meta_data_schema_info_construct (GType object_type);
VALA_EXTERN gpointer unity_protocol_category_definition_ref (gpointer instance);
VALA_EXTERN void unity_protocol_category_definition_unref (gpointer instance);
VALA_EXTERN GParamSpec* unity_protocol_param_spec_category_definition (const gchar* name,
                                                           const gchar* nick,
                                                           const gchar* blurb,
                                                           GType object_type,
                                                           GParamFlags flags);
VALA_EXTERN void unity_protocol_value_set_category_definition (GValue* value,
                                                   gpointer v_object);
VALA_EXTERN void unity_protocol_value_take_category_definition (GValue* value,
                                                    gpointer v_object);
VALA_EXTERN gpointer unity_protocol_value_get_category_definition (const GValue* value);
VALA_EXTERN GType unity_protocol_category_definition_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (UnityProtocolCategoryDefinition, unity_protocol_category_definition_unref)
VALA_EXTERN UnityProtocolCategoryDefinition* unity_protocol_category_definition_new (void);
VALA_EXTERN UnityProtocolCategoryDefinition* unity_protocol_category_definition_construct (GType object_type);
VALA_EXTERN const gchar* unity_protocol_category_definition_get_id (UnityProtocolCategoryDefinition* self);
VALA_EXTERN const gchar* unity_protocol_category_definition_get_name (UnityProtocolCategoryDefinition* self);
VALA_EXTERN const gchar* unity_protocol_category_definition_get_icon (UnityProtocolCategoryDefinition* self);
VALA_EXTERN const gchar* unity_protocol_category_definition_get_renderer (UnityProtocolCategoryDefinition* self);
VALA_EXTERN const gchar* unity_protocol_category_definition_get_content_type (UnityProtocolCategoryDefinition* self);
VALA_EXTERN const gchar* unity_protocol_category_definition_get_dedup_field (UnityProtocolCategoryDefinition* self);
VALA_EXTERN const gchar* unity_protocol_category_definition_get_sort_field (UnityProtocolCategoryDefinition* self);
VALA_EXTERN const gchar* unity_protocol_category_definition_get_renderer_hint (UnityProtocolCategoryDefinition* self);
VALA_EXTERN void unity_protocol_category_definition_set_renderer_hint (UnityProtocolCategoryDefinition* self,
                                                           const gchar* value);
VALA_EXTERN gpointer unity_protocol_filter_definition_ref (gpointer instance);
VALA_EXTERN void unity_protocol_filter_definition_unref (gpointer instance);
VALA_EXTERN GParamSpec* unity_protocol_param_spec_filter_definition (const gchar* name,
                                                         const gchar* nick,
                                                         const gchar* blurb,
                                                         GType object_type,
                                                         GParamFlags flags);
VALA_EXTERN void unity_protocol_value_set_filter_definition (GValue* value,
                                                 gpointer v_object);
VALA_EXTERN void unity_protocol_value_take_filter_definition (GValue* value,
                                                  gpointer v_object);
VALA_EXTERN gpointer unity_protocol_value_get_filter_definition (const GValue* value);
VALA_EXTERN GType unity_protocol_filter_definition_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (UnityProtocolFilterDefinition, unity_protocol_filter_definition_unref)
VALA_EXTERN gchar** unity_protocol_filter_definition_get_option_ids (UnityProtocolFilterDefinition* self,
                                                         gint* result_length1);
VALA_EXTERN gchar** unity_protocol_filter_definition_get_option_names (UnityProtocolFilterDefinition* self,
                                                           gint* result_length1);
VALA_EXTERN void unity_protocol_filter_definition_add_option (UnityProtocolFilterDefinition* self,
                                                  const gchar* id,
                                                  const gchar* name);
VALA_EXTERN UnityProtocolFilterDefinition* unity_protocol_filter_definition_new (void);
VALA_EXTERN UnityProtocolFilterDefinition* unity_protocol_filter_definition_construct (GType object_type);
VALA_EXTERN const gchar* unity_protocol_filter_definition_get_id (UnityProtocolFilterDefinition* self);
VALA_EXTERN const gchar* unity_protocol_filter_definition_get_filter_type (UnityProtocolFilterDefinition* self);
VALA_EXTERN const gchar* unity_protocol_filter_definition_get_name (UnityProtocolFilterDefinition* self);
VALA_EXTERN const gchar* unity_protocol_filter_definition_get_sort_type (UnityProtocolFilterDefinition* self);
VALA_EXTERN gpointer unity_protocol_scope_registry_ref (gpointer instance);
VALA_EXTERN void unity_protocol_scope_registry_unref (gpointer instance);
VALA_EXTERN GParamSpec* unity_protocol_param_spec_scope_registry (const gchar* name,
                                                      const gchar* nick,
                                                      const gchar* blurb,
                                                      GType object_type,
                                                      GParamFlags flags);
VALA_EXTERN void unity_protocol_value_set_scope_registry (GValue* value,
                                              gpointer v_object);
VALA_EXTERN void unity_protocol_value_take_scope_registry (GValue* value,
                                               gpointer v_object);
VALA_EXTERN gpointer unity_protocol_value_get_scope_registry (const GValue* value);
VALA_EXTERN GType unity_protocol_scope_registry_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (UnityProtocolScopeRegistry, unity_protocol_scope_registry_unref)
VALA_EXTERN void unity_protocol_scope_registry_find_scopes (const gchar* start_path,
                                                GAsyncReadyCallback _callback_,
                                                gpointer _user_data_);
VALA_EXTERN UnityProtocolScopeRegistry* unity_protocol_scope_registry_find_scopes_finish (GAsyncResult* _res_,
                                                                              GError** error);
VALA_EXTERN void unity_protocol_scope_registry_find_scopes_for_id (const gchar* scope_id,
                                                       const gchar* root_path,
                                                       GAsyncReadyCallback _callback_,
                                                       gpointer _user_data_);
VALA_EXTERN UnityProtocolScopeRegistry* unity_protocol_scope_registry_find_scopes_for_id_finish (GAsyncResult* _res_,
                                                                                     GError** error);
VALA_EXTERN gpointer unity_protocol_scope_registry_scope_registry_node_ref (gpointer instance);
VALA_EXTERN void unity_protocol_scope_registry_scope_registry_node_unref (gpointer instance);
VALA_EXTERN GParamSpec* unity_protocol_scope_registry_param_spec_scope_registry_node (const gchar* name,
                                                                          const gchar* nick,
                                                                          const gchar* blurb,
                                                                          GType object_type,
                                                                          GParamFlags flags);
VALA_EXTERN void unity_protocol_scope_registry_value_set_scope_registry_node (GValue* value,
                                                                  gpointer v_object);
VALA_EXTERN void unity_protocol_scope_registry_value_take_scope_registry_node (GValue* value,
                                                                   gpointer v_object);
VALA_EXTERN gpointer unity_protocol_scope_registry_value_get_scope_registry_node (const GValue* value);
VALA_EXTERN GType unity_protocol_scope_registry_scope_registry_node_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (UnityProtocolScopeRegistryScopeRegistryNode, unity_protocol_scope_registry_scope_registry_node_unref)
VALA_EXTERN GSList* unity_protocol_scope_registry_get_scopes (UnityProtocolScopeRegistry* self);
VALA_EXTERN gpointer unity_protocol_scope_registry_scope_metadata_ref (gpointer instance);
VALA_EXTERN void unity_protocol_scope_registry_scope_metadata_unref (gpointer instance);
VALA_EXTERN GParamSpec* unity_protocol_scope_registry_param_spec_scope_metadata (const gchar* name,
                                                                     const gchar* nick,
                                                                     const gchar* blurb,
                                                                     GType object_type,
                                                                     GParamFlags flags);
VALA_EXTERN void unity_protocol_scope_registry_value_set_scope_metadata (GValue* value,
                                                             gpointer v_object);
VALA_EXTERN void unity_protocol_scope_registry_value_take_scope_metadata (GValue* value,
                                                              gpointer v_object);
VALA_EXTERN gpointer unity_protocol_scope_registry_value_get_scope_metadata (const GValue* value);
VALA_EXTERN GType unity_protocol_scope_registry_scope_metadata_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (UnityProtocolScopeRegistryScopeMetadata, unity_protocol_scope_registry_scope_metadata_unref)
VALA_EXTERN UnityProtocolCategoryDefinition** unity_protocol_scope_registry_scope_metadata_get_categories (UnityProtocolScopeRegistryScopeMetadata* self,
                                                                                               gint* result_length1);
VALA_EXTERN UnityProtocolFilterDefinition** unity_protocol_scope_registry_scope_metadata_get_filters (UnityProtocolScopeRegistryScopeMetadata* self,
                                                                                          gint* result_length1);
VALA_EXTERN gchar** unity_protocol_scope_registry_scope_metadata_get_subscope_ids (UnityProtocolScopeRegistryScopeMetadata* self,
                                                                       gint* result_length1);
VALA_EXTERN void unity_protocol_scope_registry_scope_metadata_load_from_key_file (UnityProtocolScopeRegistryScopeMetadata* self,
                                                                      GKeyFile* file,
                                                                      GError** error);
VALA_EXTERN UnityProtocolScopeRegistryScopeMetadata* unity_protocol_scope_registry_scope_metadata_for_id (const gchar* scope_id,
                                                                                              GError** error);
VALA_EXTERN UnityProtocolScopeRegistryScopeMetadata* unity_protocol_scope_registry_scope_metadata_for_path (const gchar* path,
                                                                                                GError** error);
VALA_EXTERN UnityProtocolScopeRegistryScopeMetadata* unity_protocol_scope_registry_scope_metadata_new (void);
VALA_EXTERN UnityProtocolScopeRegistryScopeMetadata* unity_protocol_scope_registry_scope_metadata_construct (GType object_type);
VALA_EXTERN UnityProtocolScopeRegistryScopeRegistryNode* unity_protocol_scope_registry_scope_registry_node_new (void);
VALA_EXTERN UnityProtocolScopeRegistryScopeRegistryNode* unity_protocol_scope_registry_scope_registry_node_construct (GType object_type);
VALA_EXTERN GType unity_protocol_scope_group_scope_info_get_type (void) G_GNUC_CONST ;
VALA_EXTERN UnityProtocolScopeGroupScopeInfo* unity_protocol_scope_group_scope_info_dup (const UnityProtocolScopeGroupScopeInfo* self);
VALA_EXTERN void unity_protocol_scope_group_scope_info_free (UnityProtocolScopeGroupScopeInfo* self);
VALA_EXTERN void unity_protocol_scope_group_scope_info_copy (const UnityProtocolScopeGroupScopeInfo* self,
                                                 UnityProtocolScopeGroupScopeInfo* dest);
VALA_EXTERN void unity_protocol_scope_group_scope_info_destroy (UnityProtocolScopeGroupScopeInfo* self);
G_DEFINE_AUTO_CLEANUP_CLEAR_FUNC (UnityProtocolScopeGroupScopeInfo, unity_protocol_scope_group_scope_info_destroy)
VALA_EXTERN gpointer unity_protocol_scope_group_config_ref (gpointer instance);
VALA_EXTERN void unity_protocol_scope_group_config_unref (gpointer instance);
VALA_EXTERN GParamSpec* unity_protocol_param_spec_scope_group_config (const gchar* name,
                                                          const gchar* nick,
                                                          const gchar* blurb,
                                                          GType object_type,
                                                          GParamFlags flags);
VALA_EXTERN void unity_protocol_value_set_scope_group_config (GValue* value,
                                                  gpointer v_object);
VALA_EXTERN void unity_protocol_value_take_scope_group_config (GValue* value,
                                                   gpointer v_object);
VALA_EXTERN gpointer unity_protocol_value_get_scope_group_config (const GValue* value);
VALA_EXTERN GType unity_protocol_scope_group_config_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (UnityProtocolScopeGroupConfig, unity_protocol_scope_group_config_unref)
VALA_EXTERN UnityProtocolScopeGroupConfig* unity_protocol_scope_group_config_new (const gchar* file_name,
                                                                      GError** error);
VALA_EXTERN UnityProtocolScopeGroupConfig* unity_protocol_scope_group_config_construct (GType object_type,
                                                                            const gchar* file_name,
                                                                            GError** error);
VALA_EXTERN GType unity_protocol_preview_player_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (UnityProtocolPreviewPlayer, g_object_unref)
VALA_EXTERN void unity_protocol_preview_player_play (UnityProtocolPreviewPlayer* self,
                                         const gchar* uri,
                                         GAsyncReadyCallback _callback_,
                                         gpointer _user_data_);
VALA_EXTERN void unity_protocol_preview_player_play_finish (UnityProtocolPreviewPlayer* self,
                                                GAsyncResult* _res_,
                                                GError** error);
VALA_EXTERN void unity_protocol_preview_player_pause (UnityProtocolPreviewPlayer* self,
                                          GAsyncReadyCallback _callback_,
                                          gpointer _user_data_);
VALA_EXTERN void unity_protocol_preview_player_pause_finish (UnityProtocolPreviewPlayer* self,
                                                 GAsyncResult* _res_,
                                                 GError** error);
VALA_EXTERN void unity_protocol_preview_player_pause_resume (UnityProtocolPreviewPlayer* self,
                                                 GAsyncReadyCallback _callback_,
                                                 gpointer _user_data_);
VALA_EXTERN void unity_protocol_preview_player_pause_resume_finish (UnityProtocolPreviewPlayer* self,
                                                        GAsyncResult* _res_,
                                                        GError** error);
VALA_EXTERN void unity_protocol_preview_player_resume (UnityProtocolPreviewPlayer* self,
                                           GAsyncReadyCallback _callback_,
                                           gpointer _user_data_);
VALA_EXTERN void unity_protocol_preview_player_resume_finish (UnityProtocolPreviewPlayer* self,
                                                  GAsyncResult* _res_,
                                                  GError** error);
VALA_EXTERN void unity_protocol_preview_player_stop (UnityProtocolPreviewPlayer* self,
                                         GAsyncReadyCallback _callback_,
                                         gpointer _user_data_);
VALA_EXTERN void unity_protocol_preview_player_stop_finish (UnityProtocolPreviewPlayer* self,
                                                GAsyncResult* _res_,
                                                GError** error);
VALA_EXTERN void unity_protocol_preview_player_close (UnityProtocolPreviewPlayer* self,
                                          GAsyncReadyCallback _callback_,
                                          gpointer _user_data_);
VALA_EXTERN void unity_protocol_preview_player_close_finish (UnityProtocolPreviewPlayer* self,
                                                 GAsyncResult* _res_,
                                                 GError** error);
VALA_EXTERN void unity_protocol_preview_player_video_properties (UnityProtocolPreviewPlayer* self,
                                                     const gchar* uri,
                                                     GAsyncReadyCallback _callback_,
                                                     gpointer _user_data_);
VALA_EXTERN GHashTable* unity_protocol_preview_player_video_properties_finish (UnityProtocolPreviewPlayer* self,
                                                                   GAsyncResult* _res_,
                                                                   GError** error);
VALA_EXTERN UnityProtocolPreviewPlayer* unity_protocol_preview_player_new (void);
VALA_EXTERN UnityProtocolPreviewPlayer* unity_protocol_preview_player_construct (GType object_type);
VALA_EXTERN GType unity_protocol_scope_proxy_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (UnityProtocolScopeProxy, g_object_unref)
VALA_EXTERN void unity_protocol_scope_proxy_activate (UnityProtocolScopeProxy* self,
                                          const gchar* channel_id,
                                          GVariant** result_arr,
                                          gint result_arr_length1,
                                          UnityProtocolActionType action_type,
                                          GHashTable* hints,
                                          GCancellable* cancellable,
                                          GAsyncReadyCallback _callback_,
                                          gpointer _user_data_);
VALA_EXTERN void unity_protocol_scope_proxy_activate_finish (UnityProtocolScopeProxy* self,
                                                 GAsyncResult* _res_,
                                                 UnityProtocolActivationReplyRaw* result,
                                                 GError** error);
VALA_EXTERN void unity_protocol_scope_proxy_search (UnityProtocolScopeProxy* self,
                                        const gchar* channel_id,
                                        const gchar* search_string,
                                        GHashTable* hints,
                                        GCancellable* cancellable,
                                        GAsyncReadyCallback _callback_,
                                        gpointer _user_data_);
VALA_EXTERN GHashTable* unity_protocol_scope_proxy_search_finish (UnityProtocolScopeProxy* self,
                                                      GAsyncResult* _res_,
                                                      GError** error);
VALA_EXTERN void unity_protocol_scope_proxy_open_channel (UnityProtocolScopeProxy* self,
                                              UnityProtocolChannelType channel_type,
                                              UnityProtocolChannelFlags channel_flags,
                                              GCancellable* cancellable,
                                              GAsyncReadyCallback _callback_,
                                              gpointer _user_data_);
VALA_EXTERN gchar* unity_protocol_scope_proxy_open_channel_finish (UnityProtocolScopeProxy* self,
                                                       GAsyncResult* _res_,
                                                       DeeSerializableModel** results_model,
                                                       GError** error);
VALA_EXTERN void unity_protocol_scope_proxy_close_channel (UnityProtocolScopeProxy* self,
                                               const gchar* channel_id,
                                               GCancellable* cancellable,
                                               GAsyncReadyCallback _callback_,
                                               gpointer _user_data_);
VALA_EXTERN void unity_protocol_scope_proxy_close_channel_finish (UnityProtocolScopeProxy* self,
                                                      GAsyncResult* _res_,
                                                      GError** error);
VALA_EXTERN void unity_protocol_scope_proxy_set_active_sources (UnityProtocolScopeProxy* self,
                                                    const gchar* channel_id,
                                                    gchar** sources,
                                                    gint sources_length1,
                                                    GCancellable* cancellable,
                                                    GAsyncReadyCallback _callback_,
                                                    gpointer _user_data_);
VALA_EXTERN void unity_protocol_scope_proxy_set_active_sources_finish (UnityProtocolScopeProxy* self,
                                                           GAsyncResult* _res_,
                                                           GError** error);
VALA_EXTERN void unity_protocol_scope_proxy_push_results (UnityProtocolScopeProxy* self,
                                              const gchar* channel_id,
                                              const gchar* search_string,
                                              const gchar* source_scope_id,
                                              DeeSerializableModel* model,
                                              gchar** categories,
                                              gint categories_length1,
                                              GCancellable* cancellable,
                                              GAsyncReadyCallback _callback_,
                                              gpointer _user_data_);
VALA_EXTERN GHashTable* unity_protocol_scope_proxy_push_results_finish (UnityProtocolScopeProxy* self,
                                                            GAsyncResult* _res_,
                                                            GError** error);
VALA_EXTERN void unity_protocol_scope_proxy_new_for_id (const gchar* id,
                                            GCancellable* cancellable,
                                            GAsyncReadyCallback _callback_,
                                            gpointer _user_data_);
VALA_EXTERN UnityProtocolScopeProxy* unity_protocol_scope_proxy_new_for_id_finish (GAsyncResult* _res_,
                                                                       GError** error);
VALA_EXTERN void unity_protocol_scope_proxy_new_from_dbus (const gchar* dbus_name,
                                               const gchar* dbus_path,
                                               GCancellable* cancellable,
                                               GAsyncReadyCallback _callback_,
                                               gpointer _user_data_);
VALA_EXTERN UnityProtocolScopeProxy* unity_protocol_scope_proxy_new_from_dbus_finish (GAsyncResult* _res_,
                                                                          GError** error);
VALA_EXTERN void unity_protocol_scope_proxy_new_from_metadata (UnityProtocolScopeRegistryScopeMetadata* metadata,
                                                   GCancellable* cancellable,
                                                   GAsyncReadyCallback _callback_,
                                                   gpointer _user_data_);
VALA_EXTERN UnityProtocolScopeProxy* unity_protocol_scope_proxy_new_from_metadata_finish (GAsyncResult* _res_,
                                                                              GError** error);
VALA_EXTERN gboolean unity_protocol_scope_proxy_get_visible (UnityProtocolScopeProxy* self);
VALA_EXTERN gboolean unity_protocol_scope_proxy_get_is_master (UnityProtocolScopeProxy* self);
VALA_EXTERN gboolean unity_protocol_scope_proxy_get_connected (UnityProtocolScopeProxy* self);
VALA_EXTERN const gchar* unity_protocol_scope_proxy_get_search_hint (UnityProtocolScopeProxy* self);
VALA_EXTERN UnityProtocolViewType unity_protocol_scope_proxy_get_view_type (UnityProtocolScopeProxy* self);
VALA_EXTERN void unity_protocol_scope_proxy_set_view_type (UnityProtocolScopeProxy* self,
                                               UnityProtocolViewType value);
VALA_EXTERN DeeSerializableModel* unity_protocol_scope_proxy_get_filters_model (UnityProtocolScopeProxy* self);
VALA_EXTERN DeeSerializableModel* unity_protocol_scope_proxy_get_categories_model (UnityProtocolScopeProxy* self);
VALA_EXTERN GVariant* unity_protocol_scope_proxy_get_sources (UnityProtocolScopeProxy* self);
VALA_EXTERN GHashTable* unity_protocol_scope_proxy_get_metadata (UnityProtocolScopeProxy* self);
VALA_EXTERN GHashTable* unity_protocol_scope_proxy_get_optional_metadata (UnityProtocolScopeProxy* self);

G_END_DECLS

#endif
