Add initial source files for rygel-gst-0-10-plugins (1f5e770)
[profile/ivi/rygel-gst-0-10-plugins.git] / src / media-export / rygel-media-export-photo-item.h
1 /*
2  * Copyright (C) 2009, 2010 Jens Georg <mail@jensge.org>.
3  * Copyright (C) 2012, 2013 Intel Corporation.
4  *
5  * This file is part of Rygel.
6  *
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.
11  *
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.
16  *
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.
20  */
21
22 #ifndef __RYGEL_0_10_PLUGINS_MEDIA_EXPORT_PHOTO_ITEM_H__
23 #define __RYGEL_0_10_PLUGINS_MEDIA_EXPORT_PHOTO_ITEM_H__
24
25 #include <glib.h>
26 #include <glib-object.h>
27 #include <rygel-server.h>
28
29 G_BEGIN_DECLS
30
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))
37
38 typedef struct _RygelMediaExportPhotoItem RygelMediaExportPhotoItem;
39 typedef struct _RygelMediaExportPhotoItemClass RygelMediaExportPhotoItemClass;
40 typedef struct _RygelMediaExportPhotoItemPrivate RygelMediaExportPhotoItemPrivate;
41
42 struct _RygelMediaExportPhotoItem {
43   RygelPhotoItem parent_instance;
44   RygelMediaExportPhotoItemPrivate *priv;
45 };
46
47 struct _RygelMediaExportPhotoItemClass {
48   RygelPhotoItemClass parent_class;
49 };
50
51 GType
52 rygel_media_export_photo_item_get_type (void) G_GNUC_CONST;
53
54 RygelMediaExportPhotoItem *
55 rygel_media_export_photo_item_new (const gchar          *id,
56                                     RygelMediaContainer *parent,
57                                     const gchar         *title,
58                                     const gchar         *upnp_class);
59
60 G_END_DECLS
61
62 #endif /* __RYGEL_0_10_PLUGINS_MEDIA_EXPORT_PHOTO_ITEM_H__ */