2 * Copyright (C) 2009, 2010 Jens Georg <mail@jensge.org>.
3 * Copyright (C) 2012, 2013 Intel Corporation.
5 * This file is part of Rygel.
7 * Rygel is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU Lesser General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
12 * Rygel is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU Lesser General Public License for more details.
17 * You should have received a copy of the GNU Lesser General Public License
18 * along with this program; if not, write to the Free Software Foundation,
19 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
22 #ifndef __RYGEL_0_10_PLUGINS_MEDIA_EXPORT_PHOTO_ITEM_H__
23 #define __RYGEL_0_10_PLUGINS_MEDIA_EXPORT_PHOTO_ITEM_H__
26 #include <glib-object.h>
27 #include <rygel-server.h>
31 #define RYGEL_MEDIA_EXPORT_TYPE_PHOTO_ITEM (rygel_media_export_photo_item_get_type ())
32 #define RYGEL_MEDIA_EXPORT_PHOTO_ITEM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), RYGEL_MEDIA_EXPORT_TYPE_PHOTO_ITEM, RygelMediaExportPhotoItem))
33 #define RYGEL_MEDIA_EXPORT_PHOTO_ITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), RYGEL_MEDIA_EXPORT_TYPE_PHOTO_ITEM, RygelMediaExportPhotoItemClass))
34 #define RYGEL_MEDIA_EXPORT_IS_PHOTO_ITEM(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), RYGEL_MEDIA_EXPORT_TYPE_PHOTO_ITEM))
35 #define RYGEL_MEDIA_EXPORT_IS_PHOTO_ITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), RYGEL_MEDIA_EXPORT_TYPE_PHOTO_ITEM))
36 #define RYGEL_MEDIA_EXPORT_PHOTO_ITEM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), RYGEL_MEDIA_EXPORT_TYPE_PHOTO_ITEM, RygelMediaExportPhotoItemClass))
38 typedef struct _RygelMediaExportPhotoItem RygelMediaExportPhotoItem;
39 typedef struct _RygelMediaExportPhotoItemClass RygelMediaExportPhotoItemClass;
40 typedef struct _RygelMediaExportPhotoItemPrivate RygelMediaExportPhotoItemPrivate;
42 struct _RygelMediaExportPhotoItem {
43 RygelPhotoItem parent_instance;
44 RygelMediaExportPhotoItemPrivate *priv;
47 struct _RygelMediaExportPhotoItemClass {
48 RygelPhotoItemClass parent_class;
52 rygel_media_export_photo_item_get_type (void) G_GNUC_CONST;
54 RygelMediaExportPhotoItem *
55 rygel_media_export_photo_item_new (const gchar *id,
56 RygelMediaContainer *parent,
58 const gchar *upnp_class);
62 #endif /* __RYGEL_0_10_PLUGINS_MEDIA_EXPORT_PHOTO_ITEM_H__ */