summaryrefslogtreecommitdiff
path: root/libnm-glib/nm-cdma-device.h
blob: 6b1c3e972f67545cf96fea135539268f524cd874 (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
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */

#ifndef NM_CDMA_DEVICE_H
#define NM_CDMA_DEVICE_H

#include "nm-serial-device.h"

G_BEGIN_DECLS

#define NM_TYPE_CDMA_DEVICE            (nm_cdma_device_get_type ())
#define NM_CDMA_DEVICE(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), NM_TYPE_CDMA_DEVICE, NMCdmaDevice))
#define NM_CDMA_DEVICE_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), NM_TYPE_CDMA_DEVICE, NMCdmaDeviceClass))
#define NM_IS_CDMA_DEVICE(obj)         (G_TYPE_CHECK_INSTANCE_TYPE ((obj), NM_TYPE_CDMA_DEVICE))
#define NM_IS_CDMA_DEVICE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((obj), NM_TYPE_CDMA_DEVICE))
#define NM_CDMA_DEVICE_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS ((obj), NM_TYPE_CDMA_DEVICE, NMCdmaDeviceClass))

typedef struct {
	NMSerialDevice parent;
} NMCdmaDevice;

typedef struct {
	NMSerialDeviceClass parent;
} NMCdmaDeviceClass;

GType        nm_cdma_device_get_type (void);

GObject *nm_cdma_device_new (DBusGConnection *connection, const char *path);

G_END_DECLS

#endif /* NM_CDMA_DEVICE_H */