Add Friulian translation
[glib.git] / gio / tests / modules / test-module-b.c
blobaaf15d696d9f8d1533dd855d3682d37c5a0d6570
1 /* Test module for GIOModule tests
2 * Copyright (C) 2013 Red Hat, Inc
3 * Author: Matthias Clasen
5 * This work is provided "as is"; redistribution and modification
6 * in whole or in part, in any medium, physical or electronic is
7 * permitted without restriction.
9 * This work 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.
13 * In no event shall the authors or contributors be liable for any
14 * direct, indirect, incidental, special, exemplary, or consequential
15 * damages (including, but not limited to, procurement of substitute
16 * goods or services; loss of use, data, or profits; or business
17 * interruption) however caused and on any theory of liability, whether
18 * in contract, strict liability, or tort (including negligence or
19 * otherwise) arising in any way out of the use of this software, even
20 * if advised of the possibility of such damage.
23 #include <gio/gio.h>
25 typedef struct _TestB {
26 GObject parent;
27 } TestB;
29 typedef struct _TestBClass {
30 GObjectClass parent_class;
31 } TestBClass;
33 G_DEFINE_TYPE (TestB, test_b, G_TYPE_OBJECT)
35 static void
36 test_b_class_init (TestBClass *class)
40 static void
41 test_b_init (TestB *self)
45 void
46 g_io_module_load (GIOModule *module)
48 g_io_extension_point_implement ("test-extension-point",
49 test_b_get_type (),
50 "test-b",
51 40);
54 void
55 g_io_module_unload (GIOModule *module)