Enumeration

PackageKitRestartEnum

Declaration

enum PackageKit.RestartEnum

Description [src]

What restart we need to after a transaction, ordered by severity.

Members

PK_RESTART_ENUM_UNKNOWN

Unknown restart state.

  • Value: 0
  • Available since: 1.0
PK_RESTART_ENUM_NONE

No restart required.

  • Value: 1
  • Available since: 1.0
PK_RESTART_ENUM_APPLICATION

Need to restart the application.

  • Value: 2
  • Available since: 1.0
PK_RESTART_ENUM_SESSION

Need to restart the session.

  • Value: 3
  • Available since: 1.0
PK_RESTART_ENUM_SYSTEM

Need to restart the system.

  • Value: 4
  • Available since: 1.0

Type functions

pk_restart_enum_from_string

Converts a text enumerated type to its unsigned integer representation.

since: 0.5.0

pk_restart_enum_to_string

Converts a enumerated type to its text representation.

since: 0.5.0