parse_desktop_data
Description:
Parses XDG Desktop Entry metadata and adds it to the list of parsed entities.
Please note that not every desktop-entry file will result in a valid component being generated, even if parsing succeeds without error (The desktiop-entry file may be valid but not generate a component on purpose).
Parameters:
this |
An instance of Metadata. |
cid |
The component-id the new Component should have. |
data |
Metadata describing one or more software components. |
data_len |
The data length, or -1 if unknown and null-terminated. |
Returns:
true if the file was parsed without error. |