gio: Rename Content class to ContentType and adjust method names
The parser automatically groups static functions with the same prefix into classes, but the right name can't be determined automatically. In this case, ContentType.GetDescription(...) is much better than Content.TypeGetDescription(...).
This commit is contained in:
parent
499540dd6d
commit
22ff426d88
2 changed files with 22 additions and 1 deletions
|
@ -6,6 +6,21 @@
|
|||
<attr path="/api/namespace/boxed[@cname='GFileAttributeInfoList']/field" name="access">private</attr>
|
||||
<attr path="/api/namespace/boxed[@cname='GFileAttributeInfoList']/field[@name='Infos']" name="array">1</attr>
|
||||
<attr path="/api/namespace/boxed[@cname='GSrvTarget']/method[@name='ListSort']/return-type" name="element_type">GSrvTarget*</attr>
|
||||
<attr path="/api/namespace/class[@name='Content']" name="name">ContentType</attr>
|
||||
<attr path="/api/namespace/class[@cname='GContent_']/method[@name='TypeCanBeExecutable']" name="name">CanBeExecutable</attr>
|
||||
<attr path="/api/namespace/class[@cname='GContent_']/method[@name='TypeEquals']" name="name">Equals</attr>
|
||||
<attr path="/api/namespace/class[@cname='GContent_']/method[@name='TypeFromMimeType']" name="name">FromMimeType</attr>
|
||||
<attr path="/api/namespace/class[@cname='GContent_']/method[@name='TypeGetDescription']" name="name">GetDescription</attr>
|
||||
<attr path="/api/namespace/class[@cname='GContent_']/method[@name='TypeGetIcon']" name="name">GetIcon</attr>
|
||||
<attr path="/api/namespace/class[@cname='GContent_']/method[@name='TypeGetMimeType']" name="name">GetMimeType</attr>
|
||||
<attr path="/api/namespace/class[@cname='GContent_']/method[@name='TypeGuess']" name="name">Guess</attr>
|
||||
<attr path="/api/namespace/class[@cname='GContent_']/method[@name='TypeGuessForTree']" name="name">GuessForTree</attr>
|
||||
<attr path="/api/namespace/class[@cname='GContent_']/method[@name='TypeIsA']" name="name">IsA</attr>
|
||||
<attr path="/api/namespace/class[@cname='GContent_']/method[@name='TypeIsUnknown']" name="name">IsUnknown</attr>
|
||||
<attr path="/api/namespace/class[@cname='GContent_']/method[@name='TypesGetRegistered']" name="name">GetRegistered</attr>
|
||||
<attr path="/api/namespace/class[@cname='GContent_']/method[@name='GetRegistered']/return-type" name="element_type">gchar*</attr>
|
||||
<attr path="/api/namespace/class[@cname='GContent_']/method[@name='GetRegistered']/return-type" name="owned">true</attr>
|
||||
<attr path="/api/namespace/class[@cname='GContent_']/method[@name='GetRegistered']/return-type" name="elements_owned">true</attr>
|
||||
<attr path="/api/namespace/class[@name='Global']" name="name">GioGlobal</attr>
|
||||
<attr path="/api/namespace/interface[@cname='GAction']/property[@cname='enabled']" name="hidden">1</attr>
|
||||
<attr path="/api/namespace/interface[@cname='GAction']/property[@cname='name']" name="hidden">1</attr>
|
||||
|
|
|
@ -87,7 +87,6 @@
|
|||
<Compile Include="generated\Chunk.cs" />
|
||||
<Compile Include="generated\ClosedHandler.cs" />
|
||||
<Compile Include="generated\CommandLineHandler.cs" />
|
||||
<Compile Include="generated\Content.cs" />
|
||||
<Compile Include="generated\Converter.cs" />
|
||||
<Compile Include="generated\ConverterAdapter.cs" />
|
||||
<Compile Include="generated\ConverterFlags.cs" />
|
||||
|
@ -365,5 +364,12 @@
|
|||
<Compile Include="generated\ZlibCompressor.cs" />
|
||||
<Compile Include="generated\ZlibCompressorFormat.cs" />
|
||||
<Compile Include="generated\ZlibDecompressor.cs" />
|
||||
<Compile Include="generated\ContentType.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\glib\glib.csproj">
|
||||
<Project>{3BF1D531-8840-4F15-8066-A9788D8C398B}</Project>
|
||||
<Name>glib</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
</Project>
|
Loading…
Reference in a new issue