formatter: Add a method to retrieve the best formatter for a givent URI
authorThibault Saunier <tsaunier@igalia.com>
Thu, 4 Jul 2019 00:15:23 +0000 (20:15 -0400)
committerThibault Saunier <tsaunier@igalia.com>
Fri, 26 Jul 2019 17:48:51 +0000 (13:48 -0400)
commit7caa424aaf29023aa215d773e60c572e12dd1092
tree19260a44169e9031346236d3b9b75de044405803
parentc5c451fc1c50b4e34874500717a8e3764bb4f670
formatter: Add a method to retrieve the best formatter for a givent URI

Uses the file extension as hint falling back to the default formatter
if none is found

Make use of that function in when saving a project and not formatter
is specified.
ges/ges-formatter.c
ges/ges-formatter.h
ges/ges-project.c