~elementary-os/ubuntu-package-imports/network-manager-applet-bionic

« back to all changes in this revision

Viewing changes to src/connection-editor/page-bond.h

  • Committer: RabbitBot
  • Date: 2018-02-05 14:05:13 UTC
  • Revision ID: rabbitbot@elementary.io-20180205140513-3yr81c4ly6dt6rxa
Initial import, version 1.8.10-2ubuntu1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */
 
2
/* NetworkManager Connection editor -- Connection editor for NetworkManager
 
3
 *
 
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.
 
8
 *
 
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.
 
13
 *
 
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.
 
17
 *
 
18
 * Copyright 2012 - 2014 Red Hat, Inc.
 
19
 */
 
20
 
 
21
#ifndef __PAGE_BOND_H__
 
22
#define __PAGE_BOND_H__
 
23
 
 
24
#include <glib.h>
 
25
#include <glib-object.h>
 
26
 
 
27
#include "page-master.h"
 
28
 
 
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))
 
35
 
 
36
typedef struct {
 
37
        CEPageMaster parent;
 
38
} CEPageBond;
 
39
 
 
40
typedef struct {
 
41
        CEPageMasterClass parent;
 
42
} CEPageBondClass;
 
43
 
 
44
GType ce_page_bond_get_type (void);
 
45
 
 
46
CEPage *ce_page_bond_new (NMConnectionEditor *editor,
 
47
                          NMConnection *connection,
 
48
                          GtkWindow *parent,
 
49
                          NMClient *client,
 
50
                          const char **out_secrets_setting_name,
 
51
                          GError **error);
 
52
 
 
53
void bond_connection_new (FUNC_TAG_PAGE_NEW_CONNECTION_IMPL,
 
54
                          GtkWindow *parent,
 
55
                          const char *detail,
 
56
                          gpointer detail_data,
 
57
                          NMConnection *connection,
 
58
                          NMClient *client,
 
59
                          PageNewConnectionResultFunc result_func,
 
60
                          gpointer user_data);
 
61
 
 
62
#endif  /* __PAGE_BOND_H__ */
 
63