| 1 |
/* |
| 2 |
* Copyright (C) 2014 Red Hat, Inc. |
| 3 |
* SPDX-License-Identifier: LGPL-2.1-or-later |
| 4 |
*/ |
| 5 |
|
| 6 |
#include "config.h" |
| 7 |
|
| 8 |
#include "mock-pressure.h" |
| 9 |
|
| 10 |
typedef GObject MockPressure; |
| 11 |
typedef GObjectClass MockPressureClass; |
| 12 |
|
| 13 |
static void mock_pressure_flow_iface_init (CockpitFlowInterface *iface); |
| 14 |
|
| 15 |
G_DEFINE_TYPE_WITH_CODE (MockPressure, mock_pressure, G_TYPE_OBJECT, |
| 16 |
G_IMPLEMENT_INTERFACE (COCKPIT_TYPE_FLOW, mock_pressure_flow_iface_init)); |
| 17 |
|
| 18 |
static void |
| 19 |
mock_pressure_init (MockPressure *self) |
| 20 |
{ |
| 21 |
|
| 22 |
} |
| 23 |
|
| 24 |
static void |
| 25 |
mock_pressure_class_init (MockPressureClass *klass) |
| 26 |
{ |
| 27 |
|
| 28 |
} |
| 29 |
|
| 30 |
static void |
| 31 |
mock_pressure_flow_iface_init (CockpitFlowInterface *iface) |
| 32 |
{ |
| 33 |
/* No implementation */ |
| 34 |
} |
| 35 |
|
| 36 |
CockpitFlow * |
| 37 |
mock_pressure_new (void) |
| 38 |
{ |
| 39 |
return g_object_new (MOCK_TYPE_PRESSURE, NULL); |
| 40 |
} |