Andreas Kling
e2f32b8f9d
LibCore: Make Core::Object properties more dynamic
...
Instead of everyone overriding save_to() and set_property() and doing
a pretty asymmetric job of implementing the various properties, let's
add a bit of structure here.
Object properties are now represented by a Core::Property. Properties
are registered with a getter and setter (optional) in constructors.
I've added some convenience macros for creating and registering
properties, but this does still feel a bit bulky. We'll have to
iterate on this and see where it goes.
2020-09-15 21:46:26 +02:00
..
2020-07-27 01:06:26 +02:00
2020-07-27 01:06:26 +02:00
2020-09-12 20:26:14 +02:00
2020-09-12 20:26:14 +02:00
2020-09-12 00:13:29 +02:00
2020-06-21 10:08:25 +02:00
2020-06-10 10:59:04 +02:00
2020-09-11 18:42:43 +02:00
2020-09-11 18:42:43 +02:00
2020-08-26 08:53:14 +02:00
2020-08-26 08:53:14 +02:00
2020-08-17 00:00:34 +02:00
2020-06-13 20:03:19 +02:00
2020-09-08 10:45:35 +02:00
2020-08-19 11:20:27 +02:00
2020-08-18 12:12:27 +02:00
2020-08-05 22:33:42 +02:00
2020-08-05 22:33:42 +02:00
2020-08-16 19:39:46 +02:00
2020-08-16 19:39:46 +02:00
2020-07-27 01:06:26 +02:00
2020-09-12 20:26:14 +02:00
2020-06-10 10:59:04 +02:00
2020-08-12 16:18:33 +02:00
2020-06-21 17:41:52 +02:00
2020-06-27 13:01:27 +02:00
2020-06-13 15:29:29 +02:00
2020-09-10 11:20:04 +02:00
2020-06-23 13:51:19 +02:00
2020-07-25 02:13:43 +02:00
2020-07-25 02:13:43 +02:00
2020-09-12 11:35:41 +02:00
2020-09-08 10:45:35 +02:00
2020-08-01 07:56:48 +02:00
2020-08-27 10:12:04 +02:00
2020-07-27 01:06:26 +02:00
2020-07-27 01:06:26 +02:00
2020-08-25 16:22:14 +02:00
2020-06-21 16:42:46 +02:00
2020-08-25 16:22:14 +02:00
2020-06-27 13:01:27 +02:00
2020-08-25 16:22:14 +02:00
2020-06-10 10:59:04 +02:00
2020-07-27 01:06:26 +02:00
2020-08-18 12:12:27 +02:00
2020-08-25 16:22:14 +02:00
2020-06-22 18:11:22 +02:00
2020-08-23 01:05:22 +02:00
2020-08-18 12:12:27 +02:00
2020-07-27 01:06:26 +02:00
2020-07-27 01:06:26 +02:00
2020-07-27 01:06:26 +02:00
2020-07-27 01:06:26 +02:00
2020-09-10 19:25:13 +02:00
2020-09-11 18:42:43 +02:00
2020-09-11 18:42:43 +02:00
2020-08-21 21:16:13 +02:00
2020-08-21 21:16:13 +02:00
2020-09-15 21:46:26 +02:00
2020-06-10 10:59:04 +02:00
2020-08-10 21:20:28 +02:00
2020-08-26 08:53:14 +02:00