On 01/10/2011 01:59 PM, Graeme Geldenhuys wrote:having the Windows API
(as an example) cloned for every widgetset of every platform is a bit
overboard I think.
Building a propriety, commonly agreed, and decently documented "Object Pascal" layer in between would be a much more "professional" design. Same would offer the appropriate APIs (GUI and non-GUI stuff) to the application program and use APIs of "Widget Type" implementations (done in a structured way: commonly usable functions done in central places) and (maybe separately implemented, but supposedly necessarily cross-linked) "NonGuiStuff" implementations (such as Event Queues for Timers and InterThread Communication).

But this is just a dream, I don't thinks anybody will feel like starting this huge and dangerous redesign work.

-Michael

--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to