diff options
Diffstat (limited to 'tests/libsample/protected.h')
-rw-r--r-- | tests/libsample/protected.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/libsample/protected.h b/tests/libsample/protected.h index 23b2f5ca7..abbbf2930 100644 --- a/tests/libsample/protected.h +++ b/tests/libsample/protected.h @@ -106,5 +106,19 @@ private: static int dtor_called; }; +class LIBSAMPLE_API ProtectedEnumClass +{ +public: + ProtectedEnumClass() {} + virtual ~ProtectedEnumClass() {} +protected: + enum ProtectedEnum { + ProtectedItem0, + ProtectedItem1 + }; + ProtectedEnum callProtectedEnumMethod(ProtectedEnum in) { return protectedEnumMethod(in); } + virtual ProtectedEnum protectedEnumMethod(ProtectedEnum in) { return in; } +}; + #endif // PROTECTED_H |