aboutsummaryrefslogtreecommitdiffstats
path: root/src/beaver-target-device.h
diff options
context:
space:
mode:
authorRob Bradford <rob@o-hand.com>2008-03-19 17:34:29 +0000
committerrob <rob@aea7fca7-3721-49c4-ace3-ac8c44b998bb>2008-03-19 17:34:29 +0000
commitf64af586c47da0488cbb9341dee38c724540a552 (patch)
treea02ef75b9be0e6688e3cb59af8b3553051fcc750 /src/beaver-target-device.h
parent107a1184727588931965abd9dda9d212e7d852b9 (diff)
downloadanjuta-poky-f64af586c47da0488cbb9341dee38c724540a552.tar.gz
anjuta-poky-f64af586c47da0488cbb9341dee38c724540a552.tar.bz2
anjuta-poky-f64af586c47da0488cbb9341dee38c724540a552.zip
2008-03-19 Rob Bradford <rob@openedhand.com>
* src/Makefile.am: * src/beaver-settings-page.c: (radio_toggled_cb), (create_ui): * src/beaver-target-device.c: (beaver_target_device_get_property), (beaver_target_device_set_property), (beaver_target_device_dispose), (beaver_target_device_finalize), (beaver_target_device_set_state), (beaver_target_device_get_state), (beaver_target_device_get_ip_address), (beaver_target_device_class_init), (beaver_target_device_init), (beaver_target_device_new): * src/beaver-target-device.h: * src/beaver.h: * src/plugin.c: (update_state), (setup_target), (rootfs_preference_notify_cb), (kernel_preference_notify_cb), (target_mode_preference_notify_cb), (target_ip_preference_notify_cb), (target_state_changed_cb), (anjuta_plugin_sdk_activate), (anjuta_plugin_sdk_deactivate): * src/plugin.h: Add support for using an external device.
Diffstat (limited to 'src/beaver-target-device.h')
-rw-r--r--src/beaver-target-device.h46
1 files changed, 46 insertions, 0 deletions
diff --git a/src/beaver-target-device.h b/src/beaver-target-device.h
new file mode 100644
index 0000000..64f975a
--- /dev/null
+++ b/src/beaver-target-device.h
@@ -0,0 +1,46 @@
+#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 */