1
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */
2
/* NetworkManager Connection editor -- Connection editor for NetworkManager
4
* This program is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License as published by
6
* the Free Software Foundation; either version 2 of the License, or
7
* (at your option) any later version.
9
* This program 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 General Public License for more details.
14
* You should have received a copy of the GNU General Public License along
15
* with this program; if not, write to the Free Software Foundation, Inc.,
16
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18
* Copyright 2012 - 2014 Red Hat, Inc.
21
#ifndef __PAGE_BOND_H__
22
#define __PAGE_BOND_H__
25
#include <glib-object.h>
27
#include "page-master.h"
29
#define CE_TYPE_PAGE_BOND (ce_page_bond_get_type ())
30
#define CE_PAGE_BOND(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CE_TYPE_PAGE_BOND, CEPageBond))
31
#define CE_PAGE_BOND_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CE_TYPE_PAGE_BOND, CEPageBondClass))
32
#define CE_IS_PAGE_BOND(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CE_TYPE_PAGE_BOND))
33
#define CE_IS_PAGE_BOND_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CE_TYPE_PAGE_BOND))
34
#define CE_PAGE_BOND_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CE_TYPE_PAGE_BOND, CEPageBondClass))
41
CEPageMasterClass parent;
44
GType ce_page_bond_get_type (void);
46
CEPage *ce_page_bond_new (NMConnectionEditor *editor,
47
NMConnection *connection,
50
const char **out_secrets_setting_name,
53
void bond_connection_new (FUNC_TAG_PAGE_NEW_CONNECTION_IMPL,
57
NMConnection *connection,
59
PageNewConnectionResultFunc result_func,
62
#endif /* __PAGE_BOND_H__ */