aboutsummaryrefslogtreecommitdiffstats
path: root/tests/libsample/blackbox.h
diff options
context:
space:
mode:
authorLuciano Wolf <luciano.wolf@openbossa.org>2009-11-27 18:29:07 -0300
committerMarcelo Lira <marcelo.lira@openbossa.org>2009-11-27 19:21:35 -0300
commit1dffc65e80f7ed87d51322de10492c7aec7106ca (patch)
treecdaa8a5d97d60881e1005381924ca8926ee9fb1c /tests/libsample/blackbox.h
parent5d2e5cd85ec6950f5bb848fe08e66cd8520cf29d (diff)
Fix objects/points methods to return a list + fix example using them.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
Diffstat (limited to 'tests/libsample/blackbox.h')
-rw-r--r--tests/libsample/blackbox.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/libsample/blackbox.h b/tests/libsample/blackbox.h
index c683c82d5..9050822d3 100644
--- a/tests/libsample/blackbox.h
+++ b/tests/libsample/blackbox.h
@@ -57,8 +57,8 @@ public:
Point* retrievePoint(int ticket);
void disposePoint(int ticket);
- ObjectTypeMap objects() { return m_objects; }
- PointMap points() { return m_points; }
+ std::list<ObjectType*> objects();
+ std::list<Point*> points();
private:
ObjectTypeMap m_objects;