Update the GUPnP-AV.changes file.
[profile/ivi/GUPnP-AV.git] / vala / gupnp-av-1.0-custom.vala
1 /*
2  * Copyright (C) 2008 OpenedHand Ltd.
3  * Copyright (C) 2012 Jens Georg.
4  *
5  * Author: Jussi Kukkonen <jku@o-hand.com>
6  *         Jens Georg <mail@jensge.org>
7  *
8  * This library is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU Library General Public
10  * License as published by the Free Software Foundation; either
11  * version 2 of the License, or (at your option) any later version.
12  *
13  * This library is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16  * Library General Public License for more details.
17  *
18  * You should have received a copy of the GNU Library General Public
19  * License along with this library; if not, write to the
20  * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
21  * Boston, MA 02110-1301, USA.
22  */
23
24 namespace GUPnP {
25         public class DIDLLiteWriter : GLib.Object {
26                 [CCode (cname = "GUPNP_DIDL_LITE_WRITER_NAMESPACE_DC")]
27                 public const string NAMESPACE_DC;
28
29                 [CCode (cname = "GUPNP_DIDL_LITE_WRITER_NAMESPACE_UPNP")]
30                 public const string NAMESPACE_UPNP;
31
32                 [CCode (cname = "GUPNP_DIDL_LITE_WRITER_NAMESPACE_DLNA")]
33                 public const string NAMESPACE_DLNA;
34         }
35
36         public errordomain SearchCriteriaParserError {
37                 [CCode (cname = "GUPNP_SEARCH_CRITERIA_PARSER_ERROR_FAILED")]
38                 FAILED
39         }
40
41         [CCode (cheader_filename = "libgupnp-av/gupnp-av.h", cprefix = "GUPNP_PROTOCOL_ERROR_")]
42         public errordomain ProtocolError {
43                 INVALID_SYNTAX,
44                 OTHER;
45                 public static GLib.Quark quark ();
46         }
47
48         public class SearchCriteriaParser : GLib.Object {
49             public virtual signal bool expression (string property, GUPnP.SearchCriteriaOp op, string value, GLib.Error error);
50         }
51 }