diff options
author | Hugo Lima <hugo.lima@openbossa.org> | 2010-01-26 18:35:08 -0200 |
---|---|---|
committer | Hugo Lima <hugo.lima@openbossa.org> | 2010-01-26 22:15:52 -0200 |
commit | cd2dceceefdb01781962be84768f0e0828dd956e (patch) | |
tree | b70475d44d31118680af76ecfc003174047a1921 /tests/libsample/derived.h | |
parent | 59bf883ba7a3678ad11e9eed7ddc93636b4c3424 (diff) |
Write cptr macro for inner classes.
Diffstat (limited to 'tests/libsample/derived.h')
-rw-r--r-- | tests/libsample/derived.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/libsample/derived.h b/tests/libsample/derived.h index 29639bddd..25e608df2 100644 --- a/tests/libsample/derived.h +++ b/tests/libsample/derived.h @@ -51,6 +51,11 @@ public: OtherOverloadedFunc_id }; + class SomeInnerClass { + public: + void uselessMethod() {} + }; + Derived(int id = -1); virtual ~Derived(); virtual void pureVirtual(); @@ -75,6 +80,8 @@ public: OtherOverloadedFuncEnum otherOverloaded(int a, int b, bool c, double d); OtherOverloadedFuncEnum otherOverloaded(int a, double b); + SomeInnerClass returnMyParameter(const SomeInnerClass& s) { return s; } + protected: const char* getClassName() { return className(); } virtual const char* className() { return "Derived"; } |