diff options
author | Marcelo Lira <marcelo.lira@openbossa.org> | 2010-06-02 13:33:59 -0300 |
---|---|---|
committer | Marcelo Lira <marcelo.lira@openbossa.org> | 2010-06-03 08:46:38 -0300 |
commit | e2738233c5bffb1fd0ad0f44c1a930c366329faa (patch) | |
tree | 5c40c7a0b498297da24cb69d0cab971fd571271b /tests/libsample/protected.h | |
parent | 7bc6f1512b1febc026d81917f33b1ea90d23fe24 (diff) |
Added support for protected fields when not using the "protected hack".
Tests were also added.
Diffstat (limited to 'tests/libsample/protected.h')
-rw-r--r-- | tests/libsample/protected.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/libsample/protected.h b/tests/libsample/protected.h index d8d55a40f..8ba4914f8 100644 --- a/tests/libsample/protected.h +++ b/tests/libsample/protected.h @@ -126,5 +126,14 @@ protected: virtual PublicEnum publicEnumMethod(PublicEnum in) { return in; } }; + +class LIBSAMPLE_API ProtectedProperty +{ +public: + ProtectedProperty() : protectedProperty(0) {} +protected: + int protectedProperty; +}; + #endif // PROTECTED_H |