source: appstream-generator/build/girepo/gio/ProxyAddressEnumerator.d @ 4841

Last change on this file since 4841 was 4841, checked in by Juanma, 2 years ago

Initial release

File size: 2.0 KB
RevLine 
[4841]1/*
2 * Licensed under the GNU Lesser General Public License Version 3
3 *
4 * This library is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU Lesser General Public License as published by
6 * the Free Software Foundation, either version 3 of the license, or
7 * (at your option) any later version.
8 *
9 * This software is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 * GNU Lesser General Public License for more details.
13 *
14 * You should have received a copy of the GNU Lesser General Public License
15 * along with this library.  If not, see <http://www.gnu.org/licenses/>.
16 */
17
18// generated automatically - do not change
19
20
21module gio.ProxyAddressEnumerator;
22
23private import gi.gio;
24public  import gi.giotypes;
25private import gio.SocketAddressEnumerator;
26
27
28/**
29 * A subclass of #GSocketAddressEnumerator that takes another address
30 * enumerator and wraps its results in #GProxyAddress<!-- -->es as
31 * directed by the default #GProxyResolver.
32 */
33public class ProxyAddressEnumerator : SocketAddressEnumerator
34{
35        /** the main Gtk struct */
36        protected GProxyAddressEnumerator* gProxyAddressEnumerator;
37
38        /** Get the main Gtk struct */
39        public GProxyAddressEnumerator* getProxyAddressEnumeratorStruct()
40        {
41                return gProxyAddressEnumerator;
42        }
43
44        /** the main Gtk struct as a void* */
45        protected override void* getStruct()
46        {
47                return cast(void*)gProxyAddressEnumerator;
48        }
49
50        protected override void setStruct(GObject* obj)
51        {
52                gProxyAddressEnumerator = cast(GProxyAddressEnumerator*)obj;
53                super.setStruct(obj);
54        }
55
56        /**
57         * Sets our main struct and passes it to the parent class.
58         */
59        public this (GProxyAddressEnumerator* gProxyAddressEnumerator, bool ownedRef = false)
60        {
61                this.gProxyAddressEnumerator = gProxyAddressEnumerator;
62                super(cast(GSocketAddressEnumerator*)gProxyAddressEnumerator, ownedRef);
63        }
64
65
66        /** */
67        public static GType getType()
68        {
69                return g_proxy_address_enumerator_get_type();
70        }
71}
Note: See TracBrowser for help on using the repository browser.