* gaflight_command_descriptor_get_command: * @descriptor: A #GAFlightCommandDescriptor. * * Returns: The opaque value used to express a command. * * It should be freed with g_free() when no longer needed. * * Since: 5.0.0 */
| 526 | * Since: 5.0.0 |
| 527 | */ |
| 528 | gchar * |
| 529 | gaflight_command_descriptor_get_command(GAFlightCommandDescriptor *descriptor) |
| 530 | { |
| 531 | const auto flight_descriptor = |
| 532 | gaflight_descriptor_get_raw(GAFLIGHT_DESCRIPTOR(descriptor)); |
| 533 | const auto &flight_command = flight_descriptor->cmd; |
| 534 | return g_strdup(flight_command.c_str()); |
| 535 | } |
| 536 | |
| 537 | typedef struct GAFlightTicketPrivate_ |
| 538 | { |
nothing calls this directly
no test coverage detected