Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #define PROPERTY(type, name) __declspec( property
- ( put = property__set_##name, get = property__get_##name ) ) type name;\
- typedef type property__tmp_type_##name
- #define READONLY_PROPERTY(type, name) __declspec( property (get = property__get_##name) ) type name;\
- typedef type property__tmp_type_##name
- #define WRITEONLY_PROPERTY(type, name) __declspec( property (put = property__set_##name) ) type name;\
- typedef type property__tmp_type_##name
- #define GET(name) property__tmp_type_##name property__get_##name()
- #define SET(name) void property__set_##name(const property__tmp_type_##name& value)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement