Shell integration idea

Alexandre Julliard julliard at winehq.org
Fri Jun 2 13:31:09 CDT 2006


Mikołaj Zalewski <mikolaj at zalewski.pl> writes:

>  The main idea is not to hard-code one implementation of things like
> the Trash into shell32 - not everything is standardized by the
> freedesktop and even if it would this might not work on other systems
> like MacOS X. We should allow for many implementations. The correct
> one is loaded depending on a registry settings (so that a winecfg
> entry can be added). My implementation uses COM objects as it's
> standard dlls provides support for such tasks. Currently there is one
> interface (IWineShellIntegration) that acts as a factory for
> specialized objects. That could also be implemented using COM
> Aggregation - when we do that we could use QueryInterface instead of
> GetIntegrationObejct.

I think using COM for that sort of thing is overkill. Besides, you
most likely want to put all of that in the explorer process, and
communicate with shell32 using the same protocol that Microsoft is
using, like we do already for the system tray.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list