aboutsummaryrefslogtreecommitdiffstats
path: root/tests/libsample/blackbox.h
diff options
context:
space:
mode:
authorMarcelo Lira <marcelo.lira@openbossa.org>2010-02-26 15:00:19 -0300
committerMarcelo Lira <marcelo.lira@openbossa.org>2010-02-26 15:21:40 -0300
commit083d500b97e2ad5ac85402f7a6df068ca2ecbd73 (patch)
tree240a8c86fc352d1ed195583743b1c4fd5a9600fc /tests/libsample/blackbox.h
parent67de28cf5c65cc5137d18502caa2f0ddcd69c2af (diff)
Shiboken generator now supports references to pointers as arguments.
Two methods with references to object type and value type pointers were added to BlackBox test class just to check the compilation. Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Diffstat (limited to 'tests/libsample/blackbox.h')
-rw-r--r--tests/libsample/blackbox.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/libsample/blackbox.h b/tests/libsample/blackbox.h
index 9050822d3..bb156887b 100644
--- a/tests/libsample/blackbox.h
+++ b/tests/libsample/blackbox.h
@@ -60,6 +60,9 @@ public:
std::list<ObjectType*> objects();
std::list<Point*> points();
+ void referenceToValuePointer(Point*&) {}
+ void referenceToObjectPointer(ObjectType*&) {}
+
private:
ObjectTypeMap m_objects;
PointMap m_points;