Back to index

libunity  5.92.0
unity-protocol.h
Go to the documentation of this file.
00001 /* unity-protocol.h generated by valac 0.17.2, the Vala compiler, do not modify */
00002 
00003 
00004 #ifndef __UNITY_PROTOCOL_H__
00005 #define __UNITY_PROTOCOL_H__
00006 
00007 #include <glib.h>
00008 #include <stdlib.h>
00009 #include <string.h>
00010 #include <glib-object.h>
00011 #include <gio/gio.h>
00012 #include <dee.h>
00013 #include <float.h>
00014 #include <math.h>
00015 
00016 G_BEGIN_DECLS
00017 
00018 
00019 #define UNITY_PROTOCOL_TYPE_LENS_INFO (unity_protocol_lens_info_get_type ())
00020 typedef struct _UnityProtocolLensInfo UnityProtocolLensInfo;
00021 
00022 #define UNITY_PROTOCOL_TYPE_HANDLED_TYPE (unity_protocol_handled_type_get_type ())
00023 
00024 #define UNITY_PROTOCOL_TYPE_ACTION_TYPE (unity_protocol_action_type_get_type ())
00025 
00026 #define UNITY_PROTOCOL_TYPE_VIEW_TYPE (unity_protocol_view_type_get_type ())
00027 
00028 #define UNITY_PROTOCOL_TYPE_LENS_SERVICE (unity_protocol_lens_service_get_type ())
00029 #define UNITY_PROTOCOL_LENS_SERVICE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_PROTOCOL_TYPE_LENS_SERVICE, UnityProtocolLensService))
00030 #define UNITY_PROTOCOL_IS_LENS_SERVICE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_PROTOCOL_TYPE_LENS_SERVICE))
00031 #define UNITY_PROTOCOL_LENS_SERVICE_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), UNITY_PROTOCOL_TYPE_LENS_SERVICE, UnityProtocolLensServiceIface))
00032 
00033 typedef struct _UnityProtocolLensService UnityProtocolLensService;
00034 typedef struct _UnityProtocolLensServiceIface UnityProtocolLensServiceIface;
00035 
00036 #define UNITY_PROTOCOL_TYPE_LENS_SERVICE_PROXY (unity_protocol_lens_service_proxy_get_type ())
00037 
00038 #define UNITY_PROTOCOL_TYPE_ACTIVATION_REPLY_RAW (unity_protocol_activation_reply_raw_get_type ())
00039 typedef struct _UnityProtocolActivationReplyRaw UnityProtocolActivationReplyRaw;
00040 
00041 #define UNITY_PROTOCOL_TYPE_SCOPE_INFO (unity_protocol_scope_info_get_type ())
00042 typedef struct _UnityProtocolScopeInfo UnityProtocolScopeInfo;
00043 
00044 #define UNITY_PROTOCOL_TYPE_SCOPE_SERVICE (unity_protocol_scope_service_get_type ())
00045 #define UNITY_PROTOCOL_SCOPE_SERVICE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_PROTOCOL_TYPE_SCOPE_SERVICE, UnityProtocolScopeService))
00046 #define UNITY_PROTOCOL_IS_SCOPE_SERVICE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_PROTOCOL_TYPE_SCOPE_SERVICE))
00047 #define UNITY_PROTOCOL_SCOPE_SERVICE_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), UNITY_PROTOCOL_TYPE_SCOPE_SERVICE, UnityProtocolScopeServiceIface))
00048 
00049 typedef struct _UnityProtocolScopeService UnityProtocolScopeService;
00050 typedef struct _UnityProtocolScopeServiceIface UnityProtocolScopeServiceIface;
00051 
00052 #define UNITY_PROTOCOL_TYPE_SCOPE_SERVICE_PROXY (unity_protocol_scope_service_proxy_get_type ())
00053 
00054 #define UNITY_PROTOCOL_TYPE_LAYOUT_HINT (unity_protocol_layout_hint_get_type ())
00055 
00056 #define UNITY_PROTOCOL_TYPE_INFO_HINT_RAW (unity_protocol_info_hint_raw_get_type ())
00057 typedef struct _UnityProtocolInfoHintRaw UnityProtocolInfoHintRaw;
00058 
00059 #define UNITY_PROTOCOL_TYPE_PREVIEW_ACTION_RAW (unity_protocol_preview_action_raw_get_type ())
00060 typedef struct _UnityProtocolPreviewActionRaw UnityProtocolPreviewActionRaw;
00061 
00062 #define UNITY_PROTOCOL_TYPE_PREVIEW (unity_protocol_preview_get_type ())
00063 #define UNITY_PROTOCOL_PREVIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_PROTOCOL_TYPE_PREVIEW, UnityProtocolPreview))
00064 #define UNITY_PROTOCOL_PREVIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), UNITY_PROTOCOL_TYPE_PREVIEW, UnityProtocolPreviewClass))
00065 #define UNITY_PROTOCOL_IS_PREVIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_PROTOCOL_TYPE_PREVIEW))
00066 #define UNITY_PROTOCOL_IS_PREVIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), UNITY_PROTOCOL_TYPE_PREVIEW))
00067 #define UNITY_PROTOCOL_PREVIEW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), UNITY_PROTOCOL_TYPE_PREVIEW, UnityProtocolPreviewClass))
00068 
00069 typedef struct _UnityProtocolPreview UnityProtocolPreview;
00070 typedef struct _UnityProtocolPreviewClass UnityProtocolPreviewClass;
00071 typedef struct _UnityProtocolPreviewPrivate UnityProtocolPreviewPrivate;
00072 
00073 #define UNITY_PROTOCOL_TYPE_GENERIC_PREVIEW (unity_protocol_generic_preview_get_type ())
00074 #define UNITY_PROTOCOL_GENERIC_PREVIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_PROTOCOL_TYPE_GENERIC_PREVIEW, UnityProtocolGenericPreview))
00075 #define UNITY_PROTOCOL_GENERIC_PREVIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), UNITY_PROTOCOL_TYPE_GENERIC_PREVIEW, UnityProtocolGenericPreviewClass))
00076 #define UNITY_PROTOCOL_IS_GENERIC_PREVIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_PROTOCOL_TYPE_GENERIC_PREVIEW))
00077 #define UNITY_PROTOCOL_IS_GENERIC_PREVIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), UNITY_PROTOCOL_TYPE_GENERIC_PREVIEW))
00078 #define UNITY_PROTOCOL_GENERIC_PREVIEW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), UNITY_PROTOCOL_TYPE_GENERIC_PREVIEW, UnityProtocolGenericPreviewClass))
00079 
00080 typedef struct _UnityProtocolGenericPreview UnityProtocolGenericPreview;
00081 typedef struct _UnityProtocolGenericPreviewClass UnityProtocolGenericPreviewClass;
00082 typedef struct _UnityProtocolGenericPreviewPrivate UnityProtocolGenericPreviewPrivate;
00083 
00084 #define UNITY_PROTOCOL_TYPE_APPLICATION_PREVIEW (unity_protocol_application_preview_get_type ())
00085 #define UNITY_PROTOCOL_APPLICATION_PREVIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_PROTOCOL_TYPE_APPLICATION_PREVIEW, UnityProtocolApplicationPreview))
00086 #define UNITY_PROTOCOL_APPLICATION_PREVIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), UNITY_PROTOCOL_TYPE_APPLICATION_PREVIEW, UnityProtocolApplicationPreviewClass))
00087 #define UNITY_PROTOCOL_IS_APPLICATION_PREVIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_PROTOCOL_TYPE_APPLICATION_PREVIEW))
00088 #define UNITY_PROTOCOL_IS_APPLICATION_PREVIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), UNITY_PROTOCOL_TYPE_APPLICATION_PREVIEW))
00089 #define UNITY_PROTOCOL_APPLICATION_PREVIEW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), UNITY_PROTOCOL_TYPE_APPLICATION_PREVIEW, UnityProtocolApplicationPreviewClass))
00090 
00091 typedef struct _UnityProtocolApplicationPreview UnityProtocolApplicationPreview;
00092 typedef struct _UnityProtocolApplicationPreviewClass UnityProtocolApplicationPreviewClass;
00093 typedef struct _UnityProtocolApplicationPreviewPrivate UnityProtocolApplicationPreviewPrivate;
00094 
00095 #define UNITY_PROTOCOL_TYPE_MUSIC_PREVIEW (unity_protocol_music_preview_get_type ())
00096 #define UNITY_PROTOCOL_MUSIC_PREVIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_PROTOCOL_TYPE_MUSIC_PREVIEW, UnityProtocolMusicPreview))
00097 #define UNITY_PROTOCOL_MUSIC_PREVIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), UNITY_PROTOCOL_TYPE_MUSIC_PREVIEW, UnityProtocolMusicPreviewClass))
00098 #define UNITY_PROTOCOL_IS_MUSIC_PREVIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_PROTOCOL_TYPE_MUSIC_PREVIEW))
00099 #define UNITY_PROTOCOL_IS_MUSIC_PREVIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), UNITY_PROTOCOL_TYPE_MUSIC_PREVIEW))
00100 #define UNITY_PROTOCOL_MUSIC_PREVIEW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), UNITY_PROTOCOL_TYPE_MUSIC_PREVIEW, UnityProtocolMusicPreviewClass))
00101 
00102 typedef struct _UnityProtocolMusicPreview UnityProtocolMusicPreview;
00103 typedef struct _UnityProtocolMusicPreviewClass UnityProtocolMusicPreviewClass;
00104 typedef struct _UnityProtocolMusicPreviewPrivate UnityProtocolMusicPreviewPrivate;
00105 
00106 #define UNITY_PROTOCOL_TYPE_MOVIE_PREVIEW (unity_protocol_movie_preview_get_type ())
00107 #define UNITY_PROTOCOL_MOVIE_PREVIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_PROTOCOL_TYPE_MOVIE_PREVIEW, UnityProtocolMoviePreview))
00108 #define UNITY_PROTOCOL_MOVIE_PREVIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), UNITY_PROTOCOL_TYPE_MOVIE_PREVIEW, UnityProtocolMoviePreviewClass))
00109 #define UNITY_PROTOCOL_IS_MOVIE_PREVIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_PROTOCOL_TYPE_MOVIE_PREVIEW))
00110 #define UNITY_PROTOCOL_IS_MOVIE_PREVIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), UNITY_PROTOCOL_TYPE_MOVIE_PREVIEW))
00111 #define UNITY_PROTOCOL_MOVIE_PREVIEW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), UNITY_PROTOCOL_TYPE_MOVIE_PREVIEW, UnityProtocolMoviePreviewClass))
00112 
00113 typedef struct _UnityProtocolMoviePreview UnityProtocolMoviePreview;
00114 typedef struct _UnityProtocolMoviePreviewClass UnityProtocolMoviePreviewClass;
00115 typedef struct _UnityProtocolMoviePreviewPrivate UnityProtocolMoviePreviewPrivate;
00116 
00117 #define UNITY_PROTOCOL_TYPE_SERIES_ITEM_RAW (unity_protocol_series_item_raw_get_type ())
00118 typedef struct _UnityProtocolSeriesItemRaw UnityProtocolSeriesItemRaw;
00119 
00120 #define UNITY_PROTOCOL_TYPE_SERIES_PREVIEW (unity_protocol_series_preview_get_type ())
00121 #define UNITY_PROTOCOL_SERIES_PREVIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_PROTOCOL_TYPE_SERIES_PREVIEW, UnityProtocolSeriesPreview))
00122 #define UNITY_PROTOCOL_SERIES_PREVIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), UNITY_PROTOCOL_TYPE_SERIES_PREVIEW, UnityProtocolSeriesPreviewClass))
00123 #define UNITY_PROTOCOL_IS_SERIES_PREVIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_PROTOCOL_TYPE_SERIES_PREVIEW))
00124 #define UNITY_PROTOCOL_IS_SERIES_PREVIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), UNITY_PROTOCOL_TYPE_SERIES_PREVIEW))
00125 #define UNITY_PROTOCOL_SERIES_PREVIEW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), UNITY_PROTOCOL_TYPE_SERIES_PREVIEW, UnityProtocolSeriesPreviewClass))
00126 
00127 typedef struct _UnityProtocolSeriesPreview UnityProtocolSeriesPreview;
00128 typedef struct _UnityProtocolSeriesPreviewClass UnityProtocolSeriesPreviewClass;
00129 typedef struct _UnityProtocolSeriesPreviewPrivate UnityProtocolSeriesPreviewPrivate;
00130 
00131 struct _UnityProtocolLensInfo {
00132        gchar* dbus_path;
00133        gboolean search_in_global;
00134        gboolean visible;
00135        gchar* search_hint;
00136        gchar* private_connection_name;
00137        gchar* results_model_name;
00138        gchar* global_results_model_name;
00139        gchar* categories_model_name;
00140        gchar* filters_model_name;
00141        GHashTable* hints;
00142 };
00143 
00144 typedef enum  {
00145        UNITY_PROTOCOL_HANDLED_TYPE_NOT_HANDLED,
00146        UNITY_PROTOCOL_HANDLED_TYPE_SHOW_DASH,
00147        UNITY_PROTOCOL_HANDLED_TYPE_HIDE_DASH,
00148        UNITY_PROTOCOL_HANDLED_TYPE_GOTO_DASH_URI,
00149        UNITY_PROTOCOL_HANDLED_TYPE_SHOW_PREVIEW
00150 } UnityProtocolHandledType;
00151 
00152 typedef enum  {
00153        UNITY_PROTOCOL_ACTION_TYPE_ACTIVATE_RESULT,
00154        UNITY_PROTOCOL_ACTION_TYPE_PREVIEW_RESULT,
00155        UNITY_PROTOCOL_ACTION_TYPE_PREVIEW_ACTION,
00156        UNITY_PROTOCOL_ACTION_TYPE_PREVIEW_BUILTIN_ACTION
00157 } UnityProtocolActionType;
00158 
00159 typedef enum  {
00160        UNITY_PROTOCOL_VIEW_TYPE_HIDDEN,
00161        UNITY_PROTOCOL_VIEW_TYPE_HOME_VIEW,
00162        UNITY_PROTOCOL_VIEW_TYPE_LENS_VIEW
00163 } UnityProtocolViewType;
00164 
00165 struct _UnityProtocolActivationReplyRaw {
00166        gchar* uri;
00167        guint handled;
00168        GHashTable* hints;
00169 };
00170 
00171 struct _UnityProtocolLensServiceIface {
00172        GTypeInterface parent_iface;
00173        void (*info_request) (UnityProtocolLensService* self, GAsyncReadyCallback _callback_, gpointer _user_data_);
00174        void (*info_request_finish) (UnityProtocolLensService* self, GAsyncResult* _res_, GError** error);
00175        void (*activate) (UnityProtocolLensService* self, const gchar* uri, guint action_type, GAsyncReadyCallback _callback_, gpointer _user_data_);
00176        void (*activate_finish) (UnityProtocolLensService* self, GAsyncResult* _res_, UnityProtocolActivationReplyRaw* result, GError** error);
00177        void (*update_preview_property) (UnityProtocolLensService* self, const gchar* uri, GHashTable* values, GAsyncReadyCallback _callback_, gpointer _user_data_);
00178        GHashTable* (*update_preview_property_finish) (UnityProtocolLensService* self, GAsyncResult* _res_, GError** error);
00179        void (*search) (UnityProtocolLensService* self, const gchar* search_string, GHashTable* hints, GAsyncReadyCallback _callback_, gpointer _user_data_);
00180        GHashTable* (*search_finish) (UnityProtocolLensService* self, GAsyncResult* _res_, GError** error);
00181        void (*global_search) (UnityProtocolLensService* self, const gchar* search_string, GHashTable* hints, GAsyncReadyCallback _callback_, gpointer _user_data_);
00182        GHashTable* (*global_search_finish) (UnityProtocolLensService* self, GAsyncResult* _res_, GError** error);
00183        void (*update_filter) (UnityProtocolLensService* self, const gchar* filter_name, GHashTable* properties, GAsyncReadyCallback _callback_, gpointer _user_data_);
00184        void (*update_filter_finish) (UnityProtocolLensService* self, GAsyncResult* _res_, GError** error);
00185        void (*set_view_type) (UnityProtocolLensService* self, guint view_type, GAsyncReadyCallback _callback_, gpointer _user_data_);
00186        void (*set_view_type_finish) (UnityProtocolLensService* self, GAsyncResult* _res_, GError** error);
00187 };
00188 
00189 struct _UnityProtocolScopeInfo {
00190        gchar* dbus_path;
00191        GVariant* sources;
00192        gboolean search_in_global;
00193        gchar* private_connection_name;
00194        gchar* results_model_name;
00195        gchar* global_results_model_name;
00196        gchar* filters_model_name;
00197        GHashTable* hints;
00198 };
00199 
00200 typedef enum  {
00201        UNITY_PROTOCOL_SCOPE_ERROR_SEARCH_CANCELLED,
00202        UNITY_PROTOCOL_SCOPE_ERROR_UNKNOWN
00203 } UnityProtocolScopeError;
00204 #define UNITY_PROTOCOL_SCOPE_ERROR unity_protocol_scope_error_quark ()
00205 struct _UnityProtocolScopeServiceIface {
00206        GTypeInterface parent_iface;
00207        void (*info_request) (UnityProtocolScopeService* self, GAsyncReadyCallback _callback_, gpointer _user_data_);
00208        void (*info_request_finish) (UnityProtocolScopeService* self, GAsyncResult* _res_, GError** error);
00209        void (*activate) (UnityProtocolScopeService* self, const gchar* uri, guint action_type, GAsyncReadyCallback _callback_, gpointer _user_data_);
00210        void (*activate_finish) (UnityProtocolScopeService* self, GAsyncResult* _res_, UnityProtocolActivationReplyRaw* result, GError** error);
00211        void (*update_preview_property) (UnityProtocolScopeService* self, const gchar* uri, GHashTable* values, GAsyncReadyCallback _callback_, gpointer _user_data_);
00212        GHashTable* (*update_preview_property_finish) (UnityProtocolScopeService* self, GAsyncResult* _res_, GError** error);
00213        void (*search) (UnityProtocolScopeService* self, const gchar* search_string, GHashTable* hints, GAsyncReadyCallback _callback_, gpointer _user_data_);
00214        GHashTable* (*search_finish) (UnityProtocolScopeService* self, GAsyncResult* _res_, GError** error);
00215        void (*global_search) (UnityProtocolScopeService* self, const gchar* search_string, GHashTable* hints, GAsyncReadyCallback _callback_, gpointer _user_data_);
00216        GHashTable* (*global_search_finish) (UnityProtocolScopeService* self, GAsyncResult* _res_, GError** error);
00217        void (*set_view_type) (UnityProtocolScopeService* self, guint view_type, GAsyncReadyCallback _callback_, gpointer _user_data_);
00218        void (*set_view_type_finish) (UnityProtocolScopeService* self, GAsyncResult* _res_, GError** error);
00219        void (*set_active_sources) (UnityProtocolScopeService* self, gchar** sources, int sources_length1, GAsyncReadyCallback _callback_, gpointer _user_data_);
00220        void (*set_active_sources_finish) (UnityProtocolScopeService* self, GAsyncResult* _res_, GError** error);
00221 };
00222 
00223 typedef enum  {
00224        UNITY_PROTOCOL_LAYOUT_HINT_NONE,
00225        UNITY_PROTOCOL_LAYOUT_HINT_LEFT,
00226        UNITY_PROTOCOL_LAYOUT_HINT_RIGHT,
00227        UNITY_PROTOCOL_LAYOUT_HINT_TOP,
00228        UNITY_PROTOCOL_LAYOUT_HINT_BOTTOM
00229 } UnityProtocolLayoutHint;
00230 
00231 struct _UnityProtocolInfoHintRaw {
00232        gchar* id;
00233        gchar* display_name;
00234        gchar* icon_hint;
00235        GVariant* value;
00236 };
00237 
00238 struct _UnityProtocolPreviewActionRaw {
00239        gchar* id;
00240        gchar* display_name;
00241        gchar* icon_hint;
00242        guint layout_hint;
00243        GHashTable* hints;
00244 };
00245 
00246 struct _UnityProtocolPreview {
00247        GObject parent_instance;
00248        UnityProtocolPreviewPrivate * priv;
00249 };
00250 
00251 struct _UnityProtocolPreviewClass {
00252        GObjectClass parent_class;
00253        void (*begin_updates) (UnityProtocolPreview* self);
00254        GHashTable* (*end_updates_as_hashtable) (UnityProtocolPreview* self);
00255        GVariant* (*end_updates) (UnityProtocolPreview* self);
00256        const gchar* (*get_renderer_name) (UnityProtocolPreview* self);
00257        void (*update_property) (UnityProtocolPreview* self, GHashTable* properties);
00258        void (*add_properties) (UnityProtocolPreview* self, GHashTable* properties);
00259 };
00260 
00261 struct _UnityProtocolGenericPreview {
00262        UnityProtocolPreview parent_instance;
00263        UnityProtocolGenericPreviewPrivate * priv;
00264 };
00265 
00266 struct _UnityProtocolGenericPreviewClass {
00267        UnityProtocolPreviewClass parent_class;
00268 };
00269 
00270 struct _UnityProtocolApplicationPreview {
00271        UnityProtocolPreview parent_instance;
00272        UnityProtocolApplicationPreviewPrivate * priv;
00273 };
00274 
00275 struct _UnityProtocolApplicationPreviewClass {
00276        UnityProtocolPreviewClass parent_class;
00277 };
00278 
00279 struct _UnityProtocolMusicPreview {
00280        UnityProtocolPreview parent_instance;
00281        UnityProtocolMusicPreviewPrivate * priv;
00282 };
00283 
00284 struct _UnityProtocolMusicPreviewClass {
00285        UnityProtocolPreviewClass parent_class;
00286 };
00287 
00288 struct _UnityProtocolMoviePreview {
00289        UnityProtocolPreview parent_instance;
00290        UnityProtocolMoviePreviewPrivate * priv;
00291 };
00292 
00293 struct _UnityProtocolMoviePreviewClass {
00294        UnityProtocolPreviewClass parent_class;
00295 };
00296 
00297 struct _UnityProtocolSeriesItemRaw {
00298        gchar* uri;
00299        gchar* title;
00300        gchar* icon_hint;
00301 };
00302 
00303 struct _UnityProtocolSeriesPreview {
00304        UnityProtocolPreview parent_instance;
00305        UnityProtocolSeriesPreviewPrivate * priv;
00306 };
00307 
00308 struct _UnityProtocolSeriesPreviewClass {
00309        UnityProtocolPreviewClass parent_class;
00310 };
00311 
00312 
00313 GType unity_protocol_lens_info_get_type (void) G_GNUC_CONST;
00314 UnityProtocolLensInfo* unity_protocol_lens_info_dup (const UnityProtocolLensInfo* self);
00315 void unity_protocol_lens_info_free (UnityProtocolLensInfo* self);
00316 void unity_protocol_lens_info_copy (const UnityProtocolLensInfo* self, UnityProtocolLensInfo* dest);
00317 void unity_protocol_lens_info_destroy (UnityProtocolLensInfo* self);
00318 GType unity_protocol_handled_type_get_type (void) G_GNUC_CONST;
00319 GType unity_protocol_action_type_get_type (void) G_GNUC_CONST;
00320 GType unity_protocol_view_type_get_type (void) G_GNUC_CONST;
00321 GType unity_protocol_lens_service_proxy_get_type (void) G_GNUC_CONST;
00322 guint unity_protocol_lens_service_register_object (void* object, GDBusConnection* connection, const gchar* path, GError** error);
00323 GType unity_protocol_activation_reply_raw_get_type (void) G_GNUC_CONST;
00324 UnityProtocolActivationReplyRaw* unity_protocol_activation_reply_raw_dup (const UnityProtocolActivationReplyRaw* self);
00325 void unity_protocol_activation_reply_raw_free (UnityProtocolActivationReplyRaw* self);
00326 void unity_protocol_activation_reply_raw_copy (const UnityProtocolActivationReplyRaw* self, UnityProtocolActivationReplyRaw* dest);
00327 void unity_protocol_activation_reply_raw_destroy (UnityProtocolActivationReplyRaw* self);
00328 GType unity_protocol_lens_service_get_type (void) G_GNUC_CONST;
00329 void unity_protocol_lens_service_info_request (UnityProtocolLensService* self, GAsyncReadyCallback _callback_, gpointer _user_data_);
00330 void unity_protocol_lens_service_info_request_finish (UnityProtocolLensService* self, GAsyncResult* _res_, GError** error);
00331 void unity_protocol_lens_service_activate (UnityProtocolLensService* self, const gchar* uri, guint action_type, GAsyncReadyCallback _callback_, gpointer _user_data_);
00332 void unity_protocol_lens_service_activate_finish (UnityProtocolLensService* self, GAsyncResult* _res_, UnityProtocolActivationReplyRaw* result, GError** error);
00333 void unity_protocol_lens_service_update_preview_property (UnityProtocolLensService* self, const gchar* uri, GHashTable* values, GAsyncReadyCallback _callback_, gpointer _user_data_);
00334 GHashTable* unity_protocol_lens_service_update_preview_property_finish (UnityProtocolLensService* self, GAsyncResult* _res_, GError** error);
00335 void unity_protocol_lens_service_search (UnityProtocolLensService* self, const gchar* search_string, GHashTable* hints, GAsyncReadyCallback _callback_, gpointer _user_data_);
00336 GHashTable* unity_protocol_lens_service_search_finish (UnityProtocolLensService* self, GAsyncResult* _res_, GError** error);
00337 void unity_protocol_lens_service_global_search (UnityProtocolLensService* self, const gchar* search_string, GHashTable* hints, GAsyncReadyCallback _callback_, gpointer _user_data_);
00338 GHashTable* unity_protocol_lens_service_global_search_finish (UnityProtocolLensService* self, GAsyncResult* _res_, GError** error);
00339 void unity_protocol_lens_service_update_filter (UnityProtocolLensService* self, const gchar* filter_name, GHashTable* properties, GAsyncReadyCallback _callback_, gpointer _user_data_);
00340 void unity_protocol_lens_service_update_filter_finish (UnityProtocolLensService* self, GAsyncResult* _res_, GError** error);
00341 void unity_protocol_lens_service_set_view_type (UnityProtocolLensService* self, guint view_type, GAsyncReadyCallback _callback_, gpointer _user_data_);
00342 void unity_protocol_lens_service_set_view_type_finish (UnityProtocolLensService* self, GAsyncResult* _res_, GError** error);
00343 GType unity_protocol_scope_info_get_type (void) G_GNUC_CONST;
00344 UnityProtocolScopeInfo* unity_protocol_scope_info_dup (const UnityProtocolScopeInfo* self);
00345 void unity_protocol_scope_info_free (UnityProtocolScopeInfo* self);
00346 void unity_protocol_scope_info_copy (const UnityProtocolScopeInfo* self, UnityProtocolScopeInfo* dest);
00347 void unity_protocol_scope_info_destroy (UnityProtocolScopeInfo* self);
00348 GQuark unity_protocol_scope_error_quark (void);
00349 GType unity_protocol_scope_service_proxy_get_type (void) G_GNUC_CONST;
00350 guint unity_protocol_scope_service_register_object (void* object, GDBusConnection* connection, const gchar* path, GError** error);
00351 GType unity_protocol_scope_service_get_type (void) G_GNUC_CONST;
00352 void unity_protocol_scope_service_info_request (UnityProtocolScopeService* self, GAsyncReadyCallback _callback_, gpointer _user_data_);
00353 void unity_protocol_scope_service_info_request_finish (UnityProtocolScopeService* self, GAsyncResult* _res_, GError** error);
00354 void unity_protocol_scope_service_activate (UnityProtocolScopeService* self, const gchar* uri, guint action_type, GAsyncReadyCallback _callback_, gpointer _user_data_);
00355 void unity_protocol_scope_service_activate_finish (UnityProtocolScopeService* self, GAsyncResult* _res_, UnityProtocolActivationReplyRaw* result, GError** error);
00356 void unity_protocol_scope_service_update_preview_property (UnityProtocolScopeService* self, const gchar* uri, GHashTable* values, GAsyncReadyCallback _callback_, gpointer _user_data_);
00357 GHashTable* unity_protocol_scope_service_update_preview_property_finish (UnityProtocolScopeService* self, GAsyncResult* _res_, GError** error);
00358 void unity_protocol_scope_service_search (UnityProtocolScopeService* self, const gchar* search_string, GHashTable* hints, GAsyncReadyCallback _callback_, gpointer _user_data_);
00359 GHashTable* unity_protocol_scope_service_search_finish (UnityProtocolScopeService* self, GAsyncResult* _res_, GError** error);
00360 void unity_protocol_scope_service_global_search (UnityProtocolScopeService* self, const gchar* search_string, GHashTable* hints, GAsyncReadyCallback _callback_, gpointer _user_data_);
00361 GHashTable* unity_protocol_scope_service_global_search_finish (UnityProtocolScopeService* self, GAsyncResult* _res_, GError** error);
00362 void unity_protocol_scope_service_set_view_type (UnityProtocolScopeService* self, guint view_type, GAsyncReadyCallback _callback_, gpointer _user_data_);
00363 void unity_protocol_scope_service_set_view_type_finish (UnityProtocolScopeService* self, GAsyncResult* _res_, GError** error);
00364 void unity_protocol_scope_service_set_active_sources (UnityProtocolScopeService* self, gchar** sources, int sources_length1, GAsyncReadyCallback _callback_, gpointer _user_data_);
00365 void unity_protocol_scope_service_set_active_sources_finish (UnityProtocolScopeService* self, GAsyncResult* _res_, GError** error);
00366 GType unity_protocol_layout_hint_get_type (void) G_GNUC_CONST;
00367 GType unity_protocol_info_hint_raw_get_type (void) G_GNUC_CONST;
00368 UnityProtocolInfoHintRaw* unity_protocol_info_hint_raw_dup (const UnityProtocolInfoHintRaw* self);
00369 void unity_protocol_info_hint_raw_free (UnityProtocolInfoHintRaw* self);
00370 void unity_protocol_info_hint_raw_copy (const UnityProtocolInfoHintRaw* self, UnityProtocolInfoHintRaw* dest);
00371 void unity_protocol_info_hint_raw_destroy (UnityProtocolInfoHintRaw* self);
00372 GType unity_protocol_preview_action_raw_get_type (void) G_GNUC_CONST;
00373 UnityProtocolPreviewActionRaw* unity_protocol_preview_action_raw_dup (const UnityProtocolPreviewActionRaw* self);
00374 void unity_protocol_preview_action_raw_free (UnityProtocolPreviewActionRaw* self);
00375 void unity_protocol_preview_action_raw_copy (const UnityProtocolPreviewActionRaw* self, UnityProtocolPreviewActionRaw* dest);
00376 void unity_protocol_preview_action_raw_destroy (UnityProtocolPreviewActionRaw* self);
00377 void unity_protocol_preview_action_raw_init (UnityProtocolPreviewActionRaw *self);
00378 UnityProtocolPreviewActionRaw* unity_protocol_preview_action_raw_from_variant (GVariant* v);
00379 GVariant* unity_protocol_preview_action_raw_to_variant (UnityProtocolPreviewActionRaw *self);
00380 GType unity_protocol_preview_get_type (void) G_GNUC_CONST;
00381 void unity_protocol_preview_begin_updates (UnityProtocolPreview* self);
00382 GHashTable* unity_protocol_preview_end_updates_as_hashtable (UnityProtocolPreview* self);
00383 GVariant* unity_protocol_preview_end_updates (UnityProtocolPreview* self);
00384 void unity_protocol_preview_add_action (UnityProtocolPreview* self, const gchar* id, const gchar* display_name, GIcon* icon, guint layout_hint);
00385 UnityProtocolPreviewActionRaw* unity_protocol_preview_get_actions (UnityProtocolPreview* self, int* result_length1);
00386 void unity_protocol_preview_add_info_hint (UnityProtocolPreview* self, const gchar* id, const gchar* display_name, GIcon* icon_hint, GVariant* value);
00387 const gchar* unity_protocol_preview_get_renderer_name (UnityProtocolPreview* self);
00388 UnityProtocolInfoHintRaw* unity_protocol_preview_get_info_hints (UnityProtocolPreview* self, int* result_length1);
00389 void unity_protocol_preview_update_property (UnityProtocolPreview* self, GHashTable* properties);
00390 UnityProtocolPreview* unity_protocol_preview_parse (GVariant* data);
00391 UnityProtocolPreview* unity_protocol_preview_construct (GType object_type);
00392 const gchar* unity_protocol_preview_get_title (UnityProtocolPreview* self);
00393 void unity_protocol_preview_set_title (UnityProtocolPreview* self, const gchar* value);
00394 const gchar* unity_protocol_preview_get_subtitle (UnityProtocolPreview* self);
00395 void unity_protocol_preview_set_subtitle (UnityProtocolPreview* self, const gchar* value);
00396 const gchar* unity_protocol_preview_get_description (UnityProtocolPreview* self);
00397 void unity_protocol_preview_set_description (UnityProtocolPreview* self, const gchar* value);
00398 GIcon* unity_protocol_preview_get_thumbnail (UnityProtocolPreview* self);
00399 void unity_protocol_preview_set_thumbnail (UnityProtocolPreview* self, GIcon* value);
00400 GType unity_protocol_generic_preview_get_type (void) G_GNUC_CONST;
00401 UnityProtocolGenericPreview* unity_protocol_generic_preview_new (void);
00402 UnityProtocolGenericPreview* unity_protocol_generic_preview_construct (GType object_type);
00403 GType unity_protocol_application_preview_get_type (void) G_GNUC_CONST;
00404 UnityProtocolApplicationPreview* unity_protocol_application_preview_new (void);
00405 UnityProtocolApplicationPreview* unity_protocol_application_preview_construct (GType object_type);
00406 GIcon* unity_protocol_application_preview_get_app_icon (UnityProtocolApplicationPreview* self);
00407 void unity_protocol_application_preview_set_app_icon (UnityProtocolApplicationPreview* self, GIcon* value);
00408 const gchar* unity_protocol_application_preview_get_license (UnityProtocolApplicationPreview* self);
00409 void unity_protocol_application_preview_set_license (UnityProtocolApplicationPreview* self, const gchar* value);
00410 const gchar* unity_protocol_application_preview_get_copyright (UnityProtocolApplicationPreview* self);
00411 void unity_protocol_application_preview_set_copyright (UnityProtocolApplicationPreview* self, const gchar* value);
00412 const gchar* unity_protocol_application_preview_get_last_update (UnityProtocolApplicationPreview* self);
00413 void unity_protocol_application_preview_set_last_update (UnityProtocolApplicationPreview* self, const gchar* value);
00414 gfloat unity_protocol_application_preview_get_rating (UnityProtocolApplicationPreview* self);
00415 void unity_protocol_application_preview_set_rating (UnityProtocolApplicationPreview* self, gfloat value);
00416 guint unity_protocol_application_preview_get_num_ratings (UnityProtocolApplicationPreview* self);
00417 void unity_protocol_application_preview_set_num_ratings (UnityProtocolApplicationPreview* self, guint value);
00418 GType unity_protocol_music_preview_get_type (void) G_GNUC_CONST;
00419 UnityProtocolMusicPreview* unity_protocol_music_preview_new (void);
00420 UnityProtocolMusicPreview* unity_protocol_music_preview_construct (GType object_type);
00421 void unity_protocol_music_preview_play_uri (UnityProtocolMusicPreview* self, const gchar* uri);
00422 void unity_protocol_music_preview_pause_uri (UnityProtocolMusicPreview* self, const gchar* uri);
00423 const gchar* unity_protocol_music_preview_get_track_data_swarm_name (UnityProtocolMusicPreview* self);
00424 void unity_protocol_music_preview_set_track_data_swarm_name (UnityProtocolMusicPreview* self, const gchar* value);
00425 const gchar* unity_protocol_music_preview_get_track_data_address (UnityProtocolMusicPreview* self);
00426 void unity_protocol_music_preview_set_track_data_address (UnityProtocolMusicPreview* self, const gchar* value);
00427 GType unity_protocol_movie_preview_get_type (void) G_GNUC_CONST;
00428 UnityProtocolMoviePreview* unity_protocol_movie_preview_new (void);
00429 UnityProtocolMoviePreview* unity_protocol_movie_preview_construct (GType object_type);
00430 const gchar* unity_protocol_movie_preview_get_year (UnityProtocolMoviePreview* self);
00431 void unity_protocol_movie_preview_set_year (UnityProtocolMoviePreview* self, const gchar* value);
00432 gfloat unity_protocol_movie_preview_get_rating (UnityProtocolMoviePreview* self);
00433 void unity_protocol_movie_preview_set_rating (UnityProtocolMoviePreview* self, gfloat value);
00434 guint unity_protocol_movie_preview_get_num_ratings (UnityProtocolMoviePreview* self);
00435 void unity_protocol_movie_preview_set_num_ratings (UnityProtocolMoviePreview* self, guint value);
00436 GType unity_protocol_series_item_raw_get_type (void) G_GNUC_CONST;
00437 UnityProtocolSeriesItemRaw* unity_protocol_series_item_raw_dup (const UnityProtocolSeriesItemRaw* self);
00438 void unity_protocol_series_item_raw_free (UnityProtocolSeriesItemRaw* self);
00439 void unity_protocol_series_item_raw_copy (const UnityProtocolSeriesItemRaw* self, UnityProtocolSeriesItemRaw* dest);
00440 void unity_protocol_series_item_raw_destroy (UnityProtocolSeriesItemRaw* self);
00441 GType unity_protocol_series_preview_get_type (void) G_GNUC_CONST;
00442 UnityProtocolSeriesPreview* unity_protocol_series_preview_new (void);
00443 UnityProtocolSeriesPreview* unity_protocol_series_preview_construct (GType object_type);
00444 void unity_protocol_series_preview_add_series_item (UnityProtocolSeriesPreview* self, const gchar* title, const gchar* uri, GIcon* icon);
00445 UnityProtocolSeriesItemRaw* unity_protocol_series_preview_get_items (UnityProtocolSeriesPreview* self, int* result_length1);
00446 gint unity_protocol_series_preview_get_selected_item (UnityProtocolSeriesPreview* self);
00447 void unity_protocol_series_preview_set_selected_item (UnityProtocolSeriesPreview* self, gint value);
00448 UnityProtocolPreview* unity_protocol_series_preview_get_child_preview (UnityProtocolSeriesPreview* self);
00449 void unity_protocol_series_preview_set_child_preview (UnityProtocolSeriesPreview* self, UnityProtocolPreview* value);
00450 
00451 
00452 G_END_DECLS
00453 
00454 #endif