configure.in, AssemblyInfo.cs: For those unfortunate earthlings without libchm, libwv...
[beagle.git] / libbeagle / beagle / beagle-empty-response.c
blob14c6b6edf67a1dcd740ff58c06dfb289085118f2
1 /*
2 * beagle-empty-response.c
4 * Copyright (C) 2005 Novell, Inc.
6 */
8 /*
9 * Permission is hereby granted, free of charge, to any person obtaining a
10 * copy of this software and associated documentation files (the "Software"),
11 * to deal in the Software without restriction, including without limitation
12 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
13 * and/or sell copies of the Software, and to permit persons to whom the
14 * Software is furnished to do so, subject to the following conditions:
16 * The above copyright notice and this permission notice shall be included in
17 * all copies or substantial portions of the Software.
19 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
20 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
21 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
22 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
23 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
24 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
25 * DEALINGS IN THE SOFTWARE.
28 #include <stdlib.h>
29 #include <sys/types.h>
30 #include <sys/socket.h>
31 #include <sys/un.h>
33 #include "beagle-empty-response.h"
34 #include "beagle-private.h"
36 typedef struct {
37 int foo;
38 } BeagleEmptyResponsePrivate;
40 #define BEAGLE_EMPTY_RESPONSE_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), BEAGLE_TYPE_EMPTY_RESPONSE, BeagleEmptyResponsePrivate))
42 static BeagleResponseClass *parent_class = NULL;
44 G_DEFINE_TYPE (BeagleEmptyResponse, beagle_empty_response, BEAGLE_TYPE_RESPONSE)
46 static void
47 beagle_empty_response_finalize (GObject *obj)
49 if (G_OBJECT_CLASS (parent_class)->finalize) {
50 G_OBJECT_CLASS (parent_class)->finalize (obj);
54 static void
55 beagle_empty_response_class_init (BeagleEmptyResponseClass *klass)
57 GObjectClass *obj_class = G_OBJECT_CLASS (klass);
59 parent_class = g_type_class_peek_parent (klass);
61 obj_class->finalize = beagle_empty_response_finalize;
63 g_type_class_add_private (klass, sizeof (BeagleEmptyResponsePrivate));
66 static void
67 beagle_empty_response_init (BeagleEmptyResponse *response)