summaryrefslogtreecommitdiffstats
path: root/src/terminal-settings-bridge-backend.hh
blob: 2b7c18874f71c31345afbb5e225ba0401af89970 (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
/*
 * Copyright © 2008, 2010, 2022 Christian Persch
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program 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 General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

#pragma once

#include "terminal-settings-bridge-generated.h"

G_BEGIN_DECLS

#define TERMINAL_TYPE_SETTINGS_BRIDGE_BACKEND         (terminal_settings_bridge_backend_get_type ())
#define TERMINAL_SETTINGS_BRIDGE_BACKEND(o)           (G_TYPE_CHECK_INSTANCE_CAST ((o), TERMINAL_TYPE_SETTINGS_BRIDGE_BACKEND, TerminalSettingsBridgeBackend))
#define TERMINAL_SETTINGS_BRIDGE_BACKEND_CLASS(k)     (G_TYPE_CHECK_CLASS_CAST((k), TERMINAL_TYPE_SETTINGS_BRIDGE_BACKEND, TerminalSettingsBridgeBackendClass))
#define TERMINAL_IS_SETTINGS_BRIDGE_BACKEND(o)        (G_TYPE_CHECK_INSTANCE_TYPE ((o), TERMINAL_TYPE_SETTINGS_BRIDGE_BACKEND))
#define TERMINAL_IS_SETTINGS_BRIDGE_BACKEND_CLASS(k)  (G_TYPE_CHECK_CLASS_TYPE ((k), TERMINAL_TYPE_SETTINGS_BRIDGE_BACKEND))
#define TERMINAL_SETTINGS_BRIDGE_BACKEND_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TERMINAL_TYPE_SETTINGS_BRIDGE_BACKEND, TerminalSettingsBridgeBackendClass))

typedef struct _TerminalSettingsBridgeBackend        TerminalSettingsBridgeBackend;
typedef struct _TerminalSettingsBridgeBackendClass   TerminalSettingsBridgeBackendClass;

GType terminal_settings_bridge_backend_get_type(void);

GSettingsBackend* terminal_settings_bridge_backend_new(TerminalSettingsBridge* bridge);

G_END_DECLS