| Top |
#define dnf_state_finished(state, error) dnf_state_finished_real(state, error, G_STRLOC)
#define dnf_state_set_number_steps(state, steps) dnf_state_set_number_steps_real(state, steps, G_STRLOC)
#define dnf_state_set_steps(state, error, value, args...) dnf_state_set_steps_real(state, error, G_STRLOC, value, ## args)
gboolean (*DnfStateErrorHandlerCb) (const,GError *error);gpointer user_data
void dnf_state_set_cancellable (DnfState *state,);GCancellable *cancellable
void dnf_state_set_allow_cancel (DnfState *state,);gboolean allow_cancel
void dnf_state_set_report_progress (DnfState *state,);gboolean report_progress
gboolean dnf_state_set_number_steps_real (DnfState *state,,guint stepsconst);gchar *strloc
gboolean dnf_state_set_steps_real (DnfState *state,,GError **errorconst,gchar *strloc,gint value...);
void dnf_state_set_package_progress (DnfState *state,const,gchar *dnf_package_get_idDnfStateAction action,);guint percentage
gboolean dnf_state_action_start (DnfState *state,DnfStateAction action,const);gchar *action_hint
gboolean dnf_state_done_real (DnfState *state,,GError **errorconst);gchar *strloc
gboolean dnf_state_finished_real (DnfState *state,,GError **errorconst);gchar *strloc
void dnf_state_set_enable_profile (DnfState *state,);gboolean enable_profile
gboolean dnf_state_take_lock (DnfState *state,DnfLockType lock_type,DnfLockMode lock_mode,);GError **error
The action enum code.
struct DnfStateClass {
GObjectClass parent_class;
void (* percentage_changed) (DnfState *state,
guint value);
void (* allow_cancel_changed) (DnfState *state,
gboolean allow_cancel);
void (* action_changed) (DnfState *state,
DnfStateAction action,
const gchar *action_hint);
void (* package_progress_changed) (DnfState *state,
const gchar *dnf_package_get_id,
DnfStateAction action,
guint percentage);
};