~noskcaj/ubuntu/utopic/network-manager-applet/merge

« back to all changes in this revision

Viewing changes to .pc/11-user-connections.patch/src/connection-editor/page-dsl.h

  • Committer: Jackson Doak
  • Date: 2014-06-19 22:19:41 UTC
  • mfrom: (1.2.37)
  • Revision ID: noskcaj@ubuntu.com-20140619221941-2zrqkioft5j3i31y
* New upstream release.
* Drop git patches

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
 
 * Dan Williams <dcbw@redhat.com>
5
 
 *
6
 
 * This program is free software; you can redistribute it and/or modify
7
 
 * it under the terms of the GNU General Public License as published by
8
 
 * the Free Software Foundation; either version 2 of the License, or
9
 
 * (at your option) any later version.
10
 
 *
11
 
 * This program is distributed in the hope that it will be useful,
12
 
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
 
 * GNU General Public License for more details.
15
 
 *
16
 
 * You should have received a copy of the GNU General Public License along
17
 
 * with this program; if not, write to the Free Software Foundation, Inc.,
18
 
 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19
 
 *
20
 
 * (C) Copyright 2008 - 2012 Red Hat, Inc.
21
 
 */
22
 
 
23
 
#ifndef __PAGE_DSL_H__
24
 
#define __PAGE_DSL_H__
25
 
 
26
 
#include <nm-connection.h>
27
 
 
28
 
#include <glib.h>
29
 
#include <glib-object.h>
30
 
 
31
 
#include "ce-page.h"
32
 
 
33
 
#define CE_TYPE_PAGE_DSL            (ce_page_dsl_get_type ())
34
 
#define CE_PAGE_DSL(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), CE_TYPE_PAGE_DSL, CEPageDsl))
35
 
#define CE_PAGE_DSL_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), CE_TYPE_PAGE_DSL, CEPageDslClass))
36
 
#define CE_IS_PAGE_DSL(obj)         (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CE_TYPE_PAGE_DSL))
37
 
#define CE_IS_PAGE_DSL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CE_TYPE_PAGE_DSL))
38
 
#define CE_PAGE_DSL_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS ((obj), CE_TYPE_PAGE_DSL, CEPageDslClass))
39
 
 
40
 
typedef struct {
41
 
        CEPage parent;
42
 
} CEPageDsl;
43
 
 
44
 
typedef struct {
45
 
        CEPageClass parent;
46
 
} CEPageDslClass;
47
 
 
48
 
GType ce_page_dsl_get_type (void);
49
 
 
50
 
CEPage *ce_page_dsl_new (NMConnection *connection,
51
 
                         GtkWindow *parent,
52
 
                         NMClient *client,
53
 
                         NMRemoteSettings *settings,
54
 
                         const char **out_secrets_setting_name,
55
 
                         GError **error);
56
 
 
57
 
void dsl_connection_new (GtkWindow *parent,
58
 
                         const char *detail,
59
 
                         NMRemoteSettings *settings,
60
 
                         PageNewConnectionResultFunc callback,
61
 
                         gpointer user_data);
62
 
 
63
 
#endif  /* __PAGE_DSL_H__ */