Pacm module

InstallationState

[State]({#ref classicy_1_1State #}) machine states for package installation.

InstallationState

#include <icy/pacm/installtask.h>

Inherits: State

State machine states for package installation.

Public Methods

ReturnNameDescription
std::stringstr const inlineConverts a state ID to its string representation.

str

const inline

inline std::string str(unsigned int id) const

Converts a state ID to its string representation.

Parameters

  • id One of the Type enum values.

Returns

Human-readable state name, or "undefined" for unknown values.

Public Types

NameDescription
Type

Type

enum Type
ValueDescription
None
Downloading
Extracting
Finalizing
Installed
Cancelled
Failed