Debian Codegraph @

src/gtktechnology.h

raw symbols SCIP
1 /*
2 *
3 * Connection Manager UI
4 *
5 * Copyright (C) 2012 Intel Corporation. All rights reserved.
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
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
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19 *
20 */
21
22 #ifndef __GTK_TECHNOLOGY_H__
23 #define __GTK_TECHNOLOGY_H__
24
25 #include <gtk/gtk.h>
26
27 #include <connman-interface.h>
28
29 G_BEGIN_DECLS
30
31 #define GTK_TYPE_TECHNOLOGY \
32 (gtk_technology_get_type())
33 #define GTK_TECHNOLOGY(obj) \
34 (G_TYPE_CHECK_INSTANCE_CAST((obj), \
35 GTK_TYPE_TECHNOLOGY, GtkTechnology))
36 #define GTK_TECHNOLOGY_CLASS(klass) \
37 (G_TYPE_CHECK_CLASS_CAST((klass), \
38 GTK_TYPE_TECHNOLOGY, GtkTechnologyClass))
39 #define GTK_IS_TECHNOLOGY(obj) \
40 (G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_TECHNOLOGY))
41 #define GTK_IS_TECHNOLOGY_CLASS(klass) \
42 (G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_TECHNOLOGY))
43 #define GTK_TECHNOLOGY_GET_CLASS(obj) \
44 (G_TYPE_INSTANCE_GET_CLASS((obj), \
45 GTK_TYPE_TECHNOLOGY, GtkTechnologyClass))
46
47 typedef struct _GtkTechnology GtkTechnology;
48 typedef struct _GtkTechnologyClass GtkTechnologyClass;
49 typedef struct _GtkTechnologyPrivate GtkTechnologyPrivate;
50
51 struct _GtkTechnology {
52 GtkMenuItem parent_class;
53
54 GtkTechnologyPrivate *priv;
55
56 gchar *path;
57 };
58
59 struct _GtkTechnologyClass {
60 GtkMenuItemClass parent_class;
61 };
62
63 GType gtk_technology_get_type(void) G_GNUC_CONST;
64 GtkTechnology *gtk_technology_new(const gchar *path);
65
66 GtkMenuItem *gtk_technology_get_tethering_item(GtkTechnology *technology);
67
68 G_END_DECLS
69
70 #endif /* __GTK_TECHNOLOGY_H__ */
71