[cluttermm/cluttermm-1.2] Added refreturn & constversions to get_pointer_[actor|stage] in InputDevice.
- From: Chris Kühl <chriskuehl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cluttermm/cluttermm-1.2] Added refreturn & constversions to get_pointer_[actor|stage] in InputDevice.
- Date: Thu, 3 Feb 2011 14:32:43 +0000 (UTC)
commit e717f5b9460e0a8d0e04179c895a91351051eaeb
Author: Chris Kühl <chrisk openismus com>
Date: Mon Jan 31 03:03:02 2011 +0100
Added refreturn & constversions to get_pointer_[actor|stage] in InputDevice.
* clutter/src/input-device.hg:
ChangeLog | 6 ++++++
clutter/src/input-device.hg | 7 +++++--
2 files changed, 11 insertions(+), 2 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index daae6bf..d87a499 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2011-01-31 Chris Kühl <chrisk openismus com>
+ Added refreturn & constversions to get_pointer_[actor|stage] in InputDevice.
+
+ * clutter/src/input-device.hg:
+
+2011-01-31 Chris Kühl <chrisk openismus com>
+
Added refreturn & constversions to get_device & get_core_device in DeviceManager.
* clutter/src/device-manager.hg:
diff --git a/clutter/src/input-device.hg b/clutter/src/input-device.hg
index 294579d..3f2065c 100644
--- a/clutter/src/input-device.hg
+++ b/clutter/src/input-device.hg
@@ -41,8 +41,11 @@ public:
_WRAP_METHOD(InputDeviceType get_device_type() const, clutter_input_device_get_device_type)
_WRAP_METHOD(Glib::ustring get_device_name() const, clutter_input_device_get_device_name)
_WRAP_METHOD(void get_device_coords(int &x, int &y) const, clutter_input_device_get_device_coords)
- _WRAP_METHOD(Glib::RefPtr<Actor> get_pointer_actor() const, clutter_input_device_get_pointer_actor)
- _WRAP_METHOD(Glib::RefPtr<Stage> get_pointer_stage() const, clutter_input_device_get_pointer_stage)
+ _WRAP_METHOD(Glib::RefPtr<Actor> get_pointer_actor(), clutter_input_device_get_pointer_actor, refreturn)
+ _WRAP_METHOD(Glib::RefPtr<const Actor> get_pointer_actor() const, clutter_input_device_get_pointer_actor, refreturn, constversion)
+ _WRAP_METHOD(Glib::RefPtr<Stage> get_pointer_stage(), clutter_input_device_get_pointer_stage, refreturn)
+ _WRAP_METHOD(Glib::RefPtr<const Stage> get_pointer_stage() const, clutter_input_device_get_pointer_stage, refreturn, , constversion)
+
//_WRAP_METHOD(void update_from_event(const Event &event, bool update_stage), clutter_input_device_update_from_event)
_WRAP_PROPERTY("device-type", InputDeviceType)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]