Kekun / gnome-games

Moving to gnome.org — A game manager application for GNOME
https://git.gnome.org/browse/gnome-games/
GNU General Public License v3.0
21 stars 4 forks source link

Refactor MIME type queries #275

Closed Kekun closed 8 years ago

Kekun commented 8 years ago

Lots of plugins have to extend TrackerMimeTypeQuery just to parametrize it, extending it always in a similar and very simple fashion. We probably could get id of most of these custom classes to make the plugins simpler.

Turning MimeTypeTrackerQuery into a concrete classe taking as contruct-time parameter what is added by its extensions could probably help.