summaryrefslogtreecommitdiff
path: root/gupnp-1.0/gupnp-1.0-custom.vala
blob: 126529229a6c7497f3c6c11e2f901d7d0fdc9215 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
/* gupnp-vala -- Vala bindings for GUPnP
 * Copyright (C) 2008 OpenedHand Ltd.
 *
 * Author: Jussi Kukkonen <jku@o-hand.com>
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Library General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Library General Public License for more details.
 *
 * You should have received a copy of the GNU Library General Public
 * License along with this library; if not, write to the
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 * Boston, MA 02111-1307, USA.
 */

namespace GUPnP {
        
        public class ServiceProxy {
                [CCode (has_construct_function = false)]
                public ServiceProxy ();
                
                public virtual signal void subscription_lost (GLib.Error reason);
        }
        
        public class Service {
                [CCode (has_construct_function = false)]
                public Service ();
                
                public virtual signal void notify_failed (GLib.List<Soup.URI> callback_urls, GLib.Error reason);
                public virtual signal void query_variable (string variable, ref GLib.Value value);
        }
        
        public class DeviceInfo {
                [CCode (has_construct_function = false)]
                public DeviceInfo ();
                
                public Soup.URI url_base { get; construct; }
        }
        
        public class ServiceInfo {
                [CCode (has_construct_function = false)]
                public ServiceInfo ();
                
                public Soup.URI url_base { get; construct; }
        }
        
        public class ServiceActionInfo {
                [CCode (has_construct_function = false)]
                public ServiceActionInfo ();
                
                public weak GLib.List<ServiceActionArgInfo> arguments;
        }
        
        public class ServiceStateVariableInfo {
                [CCode (has_construct_function = false)]
                public ServiceStateVariableInfo ();

                public weak GLib.List<string> allowed_values;
        }

        [CCode (ref_function = "", unref_function = "")]
        public class ServiceAction {
        }
}