PackageKit Reference Manual: PkRequireRestart

## PkRequireRestart PkRequireRestart — RequireRestart object |

## Functions

PkRequireRestart * | pk_require_restart_new ()

## Properties

gchar * | package-id | Read / Write
guint | restart | Read / Write

## Types and Values

struct | PkRequireRestart
struct | PkRequireRestartClass

## Object Hierarchy

        GObject
        ╰── PkSource
            ╰── PkRequireRestart

## Description

This GObject represents a requirement of restart from a transaction. These objects represent single items of data from the transaction, and are often present in lists (PkResults) or just refcounted in client programs.

## Functions

### pk_require_restart_new ()

    PkRequireRestart *
    pk_require_restart_new (void);

#### Returns

a new PkRequireRestart object.

Since 0.5.4

## Types and Values

### struct PkRequireRestart

    struct PkRequireRestart;

### struct PkRequireRestartClass

    struct PkRequireRestartClass {
    	PkSourceClass parent_class;
    	/* padding for future expansion */
    	void (*_pk_reserved1) (void);
    	void (*_pk_reserved2) (void);
    	void (*_pk_reserved3) (void);
    	void (*_pk_reserved4) (void);
    	void (*_pk_reserved5) (void);
    };

## Property Details

### The `“package-id”` property

      “package-id”               gchar *

Flags: Read / Write

Default value: NULL

Since 0.5.4

### The `“restart”` property

      “restart”                  guint

Flags: Read / Write

Default value: 0

Since 0.5.4