[cluttermm] 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] Added refreturn & constversions to get_pointer_[actor|stage] in InputDevice.
- Date: Mon, 31 Jan 2011 02:21:33 +0000 (UTC)
commit 06b330bb4354bf3aab38799c66b0136721114909
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 29eb801..764b9e1 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]