[gnome-photos] base-item: Re-align
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos] base-item: Re-align
- Date: Sat, 28 Mar 2015 10:17:50 +0000 (UTC)
commit ba9b804e4f1c55683199df208e37447e8c85fddb
Author: Debarshi Ray <debarshir gnome org>
Date: Fri Mar 27 09:06:53 2015 +0100
base-item: Re-align
src/photos-base-item.h | 126 +++++++++++++++++++++++++-----------------------
1 files changed, 65 insertions(+), 61 deletions(-)
---
diff --git a/src/photos-base-item.h b/src/photos-base-item.h
index dcd09c8..8313b8b 100644
--- a/src/photos-base-item.h
+++ b/src/photos-base-item.h
@@ -1,7 +1,7 @@
/*
* Photos - access, organize and share your photos on GNOME
* Copyright © 2014 Pranav Kant
- * Copyright © 2012, 2013, 2014 Red Hat, Inc.
+ * Copyright © 2012, 2013, 2014, 2015 Red Hat, Inc.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
@@ -73,110 +73,114 @@ struct _PhotosBaseItemClass
const gchar *miner_object_path;
/* virtual methods */
- gchar *(*create_name_fallback) (PhotosBaseItem *self);
- gboolean (*create_thumbnail) (PhotosBaseItem *self, GCancellable *cancellable, GError **error);
- gchar *(*download) (PhotosBaseItem *self, GCancellable *cancellable, GError **error);
- GtkWidget *(*get_source_widget) (PhotosBaseItem *self);
- void (*open) (PhotosBaseItem *self, GdkScreen *screen, guint32 timestamp);
- void (*set_favorite) (PhotosBaseItem *self, gboolean favorite);
- void (*trash) (PhotosBaseItem *self);
- void (*update_type_description) (PhotosBaseItem *self);
+ gchar *(*create_name_fallback) (PhotosBaseItem *self);
+ gboolean (*create_thumbnail) (PhotosBaseItem *self, GCancellable *cancellable, GError
**error);
+ gchar *(*download) (PhotosBaseItem *self, GCancellable *cancellable, GError
**error);
+ GtkWidget *(*get_source_widget) (PhotosBaseItem *self);
+ void (*open) (PhotosBaseItem *self, GdkScreen *screen, guint32 timestamp);
+ void (*set_favorite) (PhotosBaseItem *self, gboolean favorite);
+ void (*trash) (PhotosBaseItem *self);
+ void (*update_type_description) (PhotosBaseItem *self);
/* signals */
- void (*info_updated) (PhotosBaseItem *self);
+ void (*info_updated) (PhotosBaseItem *self);
};
-GType photos_base_item_get_type (void) G_GNUC_CONST;
+GType photos_base_item_get_type (void) G_GNUC_CONST;
-gboolean photos_base_item_can_trash (PhotosBaseItem *self);
+gboolean photos_base_item_can_trash (PhotosBaseItem *self);
-void photos_base_item_destroy (PhotosBaseItem *self);
+void photos_base_item_destroy (PhotosBaseItem *self);
-gchar *photos_base_item_download (PhotosBaseItem *self,
- GCancellable *cancellable,
- GError **error);
+gchar *photos_base_item_download (PhotosBaseItem *self,
+ GCancellable *cancellable,
+ GError **error);
-void photos_base_item_download_async (PhotosBaseItem *self,
- GCancellable *cancellable,
- GAsyncReadyCallback callback,
- gpointer user_data);
+void photos_base_item_download_async (PhotosBaseItem *self,
+ GCancellable *cancellable,
+ GAsyncReadyCallback callback,
+ gpointer user_data);
-gchar *photos_base_item_download_finish (PhotosBaseItem *self, GAsyncResult *res, GError
**error);
+gchar *photos_base_item_download_finish (PhotosBaseItem *self,
+ GAsyncResult *res,
+ GError **error);
-const gchar *photos_base_item_get_author (PhotosBaseItem *self);
+const gchar *photos_base_item_get_author (PhotosBaseItem *self);
-void photos_base_item_get_bbox (PhotosBaseItem *self, GeglRectangle *out_bbox);
+void photos_base_item_get_bbox (PhotosBaseItem *self, GeglRectangle *out_bbox);
-gint64 photos_base_item_get_date_created (PhotosBaseItem *self);
+gint64 photos_base_item_get_date_created (PhotosBaseItem *self);
-const gchar *photos_base_item_get_default_app_name (PhotosBaseItem *self);
+const gchar *photos_base_item_get_default_app_name (PhotosBaseItem *self);
-GQuark photos_base_item_get_equipment (PhotosBaseItem *self);
+GQuark photos_base_item_get_equipment (PhotosBaseItem *self);
-gdouble photos_base_item_get_exposure_time (PhotosBaseItem *self);
+gdouble photos_base_item_get_exposure_time (PhotosBaseItem *self);
-GQuark photos_base_item_get_flash (PhotosBaseItem *self);
+GQuark photos_base_item_get_flash (PhotosBaseItem *self);
-const gchar *photos_base_item_get_filename (PhotosBaseItem *self);
+const gchar *photos_base_item_get_filename (PhotosBaseItem *self);
-gdouble photos_base_item_get_fnumber (PhotosBaseItem *self);
+gdouble photos_base_item_get_fnumber (PhotosBaseItem *self);
-gdouble photos_base_item_get_focal_length (PhotosBaseItem *self);
+gdouble photos_base_item_get_focal_length (PhotosBaseItem *self);
-gint64 photos_base_item_get_height (PhotosBaseItem *self);
+gint64 photos_base_item_get_height (PhotosBaseItem *self);
-const gchar *photos_base_item_get_identifier (PhotosBaseItem *self);
+const gchar *photos_base_item_get_identifier (PhotosBaseItem *self);
-gdouble photos_base_item_get_iso_speed (PhotosBaseItem *self);
+gdouble photos_base_item_get_iso_speed (PhotosBaseItem *self);
-const gchar *photos_base_item_get_mime_type (PhotosBaseItem *self);
+const gchar *photos_base_item_get_mime_type (PhotosBaseItem *self);
-gint64 photos_base_item_get_mtime (PhotosBaseItem *self);
+gint64 photos_base_item_get_mtime (PhotosBaseItem *self);
-const gchar *photos_base_item_get_name (PhotosBaseItem *self);
+const gchar *photos_base_item_get_name (PhotosBaseItem *self);
-const gchar *photos_base_item_get_name_with_fallback (PhotosBaseItem *self);
+const gchar *photos_base_item_get_name_with_fallback (PhotosBaseItem *self);
-GdkPixbuf *photos_base_item_get_original_icon (PhotosBaseItem *self);
+GdkPixbuf *photos_base_item_get_original_icon (PhotosBaseItem *self);
-const gchar *photos_base_item_get_resource_urn (PhotosBaseItem *self);
+const gchar *photos_base_item_get_resource_urn (PhotosBaseItem *self);
-GtkWidget *photos_base_item_get_source_widget (PhotosBaseItem *self);
+GtkWidget *photos_base_item_get_source_widget (PhotosBaseItem *self);
-cairo_surface_t *photos_base_item_get_surface (PhotosBaseItem *self);
+cairo_surface_t *photos_base_item_get_surface (PhotosBaseItem *self);
-const gchar *photos_base_item_get_type_description (PhotosBaseItem *self);
+const gchar *photos_base_item_get_type_description (PhotosBaseItem *self);
-const gchar *photos_base_item_get_uri (PhotosBaseItem *self);
+const gchar *photos_base_item_get_uri (PhotosBaseItem *self);
-gchar *photos_base_item_get_where (PhotosBaseItem *self);
+gchar *photos_base_item_get_where (PhotosBaseItem *self);
-gint64 photos_base_item_get_width (PhotosBaseItem *self);
+gint64 photos_base_item_get_width (PhotosBaseItem *self);
-gboolean photos_base_item_is_collection (PhotosBaseItem *self);
+gboolean photos_base_item_is_collection (PhotosBaseItem *self);
-gboolean photos_base_item_is_favorite (PhotosBaseItem *self);
+gboolean photos_base_item_is_favorite (PhotosBaseItem *self);
-void photos_base_item_load_async (PhotosBaseItem *self,
- GCancellable *cancellable,
- GAsyncReadyCallback callback,
- gpointer user_data);
+void photos_base_item_load_async (PhotosBaseItem *self,
+ GCancellable *cancellable,
+ GAsyncReadyCallback callback,
+ gpointer user_data);
-GeglNode *photos_base_item_load_finish (PhotosBaseItem *self, GAsyncResult *res, GError
**error);
+GeglNode *photos_base_item_load_finish (PhotosBaseItem *self,
+ GAsyncResult *res,
+ GError **error);
-void photos_base_item_open (PhotosBaseItem *self,
- GdkScreen *screen,
- guint32 timestamp);
+void photos_base_item_open (PhotosBaseItem *self,
+ GdkScreen *screen,
+ guint32 timestamp);
-void photos_base_item_print (PhotosBaseItem *self, GtkWidget *toplevel);
+void photos_base_item_print (PhotosBaseItem *self, GtkWidget *toplevel);
-void photos_base_item_refresh (PhotosBaseItem *self);
+void photos_base_item_refresh (PhotosBaseItem *self);
-void photos_base_item_set_default_app_name (PhotosBaseItem *self, const gchar
*default_app_name);
+void photos_base_item_set_default_app_name (PhotosBaseItem *self, const gchar
*default_app_name);
-void photos_base_item_set_favorite (PhotosBaseItem *self, gboolean favorite);
+void photos_base_item_set_favorite (PhotosBaseItem *self, gboolean favorite);
-void photos_base_item_trash (PhotosBaseItem *self);
+void photos_base_item_trash (PhotosBaseItem *self);
G_END_DECLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]