aboutsummaryrefslogtreecommitdiffstats
path: root/src/beaver-target-device.h
blob: 53014408332d01a147f4dfc48fa7a0ca98aaacbe (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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
/*
 * Copyright (C) 2007, 2008 OpenedHand Ltd.
 * Authored by: Rob Bradford <rob@o-hand.com>
 *
 * This is free software: you can redistribute it and/or modify it under the
 * terms of the GNU General Public License as published by the Free Software
 * Foundation, version 2 of the License.
 *
 * This software is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
 * for more details.
 *
 * You should have received a copy of the GNU General Public License along
 * with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

#ifndef _BEAVER_TARGET_DEVICE
#define _BEAVER_TARGET_DEVICE

#include <glib-object.h>

#include "beaver-target.h"

G_BEGIN_DECLS

#define BEAVER_TYPE_TARGET_DEVICE beaver_target_device_get_type()

#define BEAVER_TARGET_DEVICE(obj) \
  (G_TYPE_CHECK_INSTANCE_CAST ((obj), \
  BEAVER_TYPE_TARGET_DEVICE, BeaverTargetDevice))

#define BEAVER_TARGET_DEVICE_CLASS(klass) \
  (G_TYPE_CHECK_CLASS_CAST ((klass), \
  BEAVER_TYPE_TARGET_DEVICE, BeaverTargetDeviceClass))

#define BEAVER_IS_TARGET_DEVICE(obj) \
  (G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
  BEAVER_TYPE_TARGET_DEVICE))

#define BEAVER_IS_TARGET_DEVICE_CLASS(klass) \
  (G_TYPE_CHECK_CLASS_TYPE ((klass), \
  BEAVER_TYPE_TARGET_DEVICE))

#define BEAVER_TARGET_DEVICE_GET_CLASS(obj) \
  (G_TYPE_INSTANCE_GET_CLASS ((obj), \
  BEAVER_TYPE_TARGET_DEVICE, BeaverTargetDeviceClass))

typedef struct {
  BeaverTarget parent;
} BeaverTargetDevice;

typedef struct {
  BeaverTargetClass parent_class;
} BeaverTargetDeviceClass;

GType beaver_target_device_get_type (void);

BeaverTarget *beaver_target_device_new (AnjutaShell *shell);

G_END_DECLS

#endif /* _BEAVER_TARGET_DEVICE */