diff options
author | renatofilho <renato.filho@openbossa.org> | 2010-10-18 15:28:11 -0300 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2012-03-08 16:07:21 -0300 |
commit | 3ca81abb5f99a00004546d86a725e0d8a0f5ae77 (patch) | |
tree | b798507b946089a0b9b1bcff28bfd62fc8fe56b1 /tests/libsample/abstract.h | |
parent | 63fddfeb50bbd786826dd18be8851d0567cce041 (diff) |
Created test for abstract function with not exported type as agument.
Reviewer: Hugo Parente Lima <hugo.pl@gmail.com>
Luciano Wolf <luciano.wolf@openbossa.org>
Diffstat (limited to 'tests/libsample/abstract.h')
-rw-r--r-- | tests/libsample/abstract.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/libsample/abstract.h b/tests/libsample/abstract.h index bbe39efa0..8b68b6ea6 100644 --- a/tests/libsample/abstract.h +++ b/tests/libsample/abstract.h @@ -28,6 +28,11 @@ class ObjectType; +// this class is not exported to python +class HideType +{ +}; + class LIBSAMPLE_API Abstract { private: @@ -80,6 +85,8 @@ public: void show(PrintFormat format = Verbose); virtual Type type() const { return TpAbstract; } + virtual void hideFunction(HideType* arg) = 0; + protected: virtual const char* className() { return "Abstract"; } |