diff options
author | Marcelo Lira <marcelo.lira@openbossa.org> | 2009-11-03 05:21:04 -0300 |
---|---|---|
committer | Marcelo Lira <marcelo.lira@openbossa.org> | 2009-11-03 05:21:04 -0300 |
commit | 048498d28bf7a0451bfc490b9f1799d3d3751b40 (patch) | |
tree | 90102429b533478bda47213c8ad5b8d531d6204d /tests/libsample/str.h | |
parent | 22ae136011c64b3da8f272e6f55574413064efae (diff) |
* added the ObjectType example which adds some cases similar to
those on Qt's QObject (object name, parent and children list),
although no ownership test was added yet.
* added method Abstract::getObjectId(Abstract*) as a case of
an argument that should be converted to an abstract type.
* added ListUser::multiplyPointList(std::list<Point*>&, double),
which tests the conversion from a Python list of Point wrappers
to a C++ list whose items will be altered.
Diffstat (limited to 'tests/libsample/str.h')
-rw-r--r-- | tests/libsample/str.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/libsample/str.h b/tests/libsample/str.h index 43396e633..26967901a 100644 --- a/tests/libsample/str.h +++ b/tests/libsample/str.h @@ -39,11 +39,13 @@ class Str { public: Str(const Str& s); - Str(const char* cstr = 0); + Str(const char* cstr = ""); ~Str(); Str arg(const Str& s) const; + Str& append(const Str& s); + const char* cstring() const; char get_char(int pos) const; bool set_char(int pos, char ch); |