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-leaf-query-container.h
1 /*
2  * Copyright (C) 2012, 2013 Intel Corporation.
3  *
4  * This file is part of Rygel.
5  *
6  * Rygel is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU Lesser General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
10  *
11  * Rygel is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14  * GNU Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public License
17  * along with this program; if not, write to the Free Software Foundation,
18  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19  */
20
21 #ifndef __RYGEL_0_10_PLUGINS_MEDIA_EXPORT_LEAF_QUERY_CONTAINER_H__
22 #define __RYGEL_0_10_PLUGINS_MEDIA_EXPORT_LEAF_QUERY_CONTAINER_H__
23
24 #include <glib.h>
25 #include <glib-object.h>
26 #include <rygel-server.h>
27
28 #include "rygel-media-export-query-container.h"
29
30 G_BEGIN_DECLS
31
32 #define RYGEL_MEDIA_EXPORT_TYPE_LEAF_QUERY_CONTAINER (rygel_media_export_leaf_query_container_get_type ())
33 #define RYGEL_MEDIA_EXPORT_LEAF_QUERY_CONTAINER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), RYGEL_MEDIA_EXPORT_TYPE_LEAF_QUERY_CONTAINER, RygelMediaExportLeafQueryContainer))
34 #define RYGEL_MEDIA_EXPORT_LEAF_QUERY_CONTAINER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), RYGEL_MEDIA_EXPORT_TYPE_LEAF_QUERY_CONTAINER, RygelMediaExportLeafQueryContainerClass))
35 #define RYGEL_MEDIA_EXPORT_IS_LEAF_QUERY_CONTAINER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), RYGEL_MEDIA_EXPORT_TYPE_LEAF_QUERY_CONTAINER))
36 #define RYGEL_MEDIA_EXPORT_IS_LEAF_QUERY_CONTAINER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), RYGEL_MEDIA_EXPORT_TYPE_LEAF_QUERY_CONTAINER))
37 #define RYGEL_MEDIA_EXPORT_LEAF_QUERY_CONTAINER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), RYGEL_MEDIA_EXPORT_TYPE_LEAF_QUERY_CONTAINER, RygelMediaExportLeafQueryContainerClass))
38
39 typedef struct _RygelMediaExportLeafQueryContainer RygelMediaExportLeafQueryContainer;
40 typedef struct _RygelMediaExportLeafQueryContainerClass RygelMediaExportLeafQueryContainerClass;
41 typedef struct _RygelMediaExportLeafQueryContainerPrivate RygelMediaExportLeafQueryContainerPrivate;
42
43 struct _RygelMediaExportLeafQueryContainer {
44   RygelMediaExportQueryContainer parent_instance;
45   RygelMediaExportLeafQueryContainerPrivate *priv;
46 };
47
48 struct _RygelMediaExportLeafQueryContainerClass {
49   RygelMediaExportQueryContainerClass parent_class;
50 };
51
52 GType
53 rygel_media_export_leaf_query_container_get_type (void) G_GNUC_CONST;
54
55 RygelMediaExportLeafQueryContainer *
56 rygel_media_export_leaf_query_container_new (RygelSearchExpression *expression,
57                                              const gchar           *id,
58                                              const gchar           *name);
59
60 G_END_DECLS
61
62 #endif /* __RYGEL_0_10_PLUGINS_MEDIA_EXPORT_LEAF_QUERY_CONTAINER_H__ */