Le mardi 8 décembre 2009 23:02:48, Marco van de Voort a écrit : > On Tue, Dec 08, 2009 at 10:36:22PM +0100, Hans-Peter Diettrich wrote: > > > I have some difficulties finding multiplatform equivalents working > > > with FPC/Lazarus. This must be complicated as those functions are about > > > shell integration and each shell have it's own approach. > > > > Isn't this more a matter of FPC (RTL), than of Lazarus? > > I don't think it necessarily belongs to either. > I think both FPC and LCL should integrate some FreeDesktop more functionalities (with different levels). For exemple D-Bus should be more used (both with GTK and Qt) as Windows API is giving equivalent functionality (see ShellApi unit for exemple).
For exemple, I know D-Bus is used through Qt when using Qt interface but D-Bus don't seem to be used directly. My goal is to underline what is strongly missing: some equivalent widely used on Windows GUI with shell API. We could think multiplatform equivalent is not possible but this may be a wrong idea as MacOS is certainly providing an equivalent and with Linux we have FreeDesktop. Like all the widgetset Lasarus the support some low-level code will be platform specific (tipically rewriting ShellApi basics for Windows, writing an equivalent with MacOS, an other one with FreeDesktop...) and high-level ones will be multiplatform. -- Geoffray "fatalerrors" Levasseur http://jeff.levasseur.tuxfamily.org/ Sic luceat lux et pax -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
