| libinfinity-0.6 Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Implemented Interfaces | Properties | ||||
#include <libinfinity/server/infd-progress-request.h>
InfdProgressRequest;
struct InfdProgressRequestClass;
void infd_progress_request_initiated (InfdProgressRequest *request,
guint total);
void infd_progress_request_progress (InfdProgressRequest *request);
This class represents a request which consists of multiple steps and for which progress on the overall operation is reported.
typedef struct _InfdProgressRequest InfdProgressRequest;
InfdProgressRequest is an opaque data type. You should only access it via the public API functions.
struct InfdProgressRequestClass {
};
This structure does not contain any public fields.
void infd_progress_request_initiated (InfdProgressRequest *request,guint total);
Initiates the request. A progress request is considered initiated as soon as the total number of operations is known.
|
A InfdProgressRequest. |
|
The total number of operations. |
void infd_progress_request_progress (InfdProgressRequest *request);
Indicates that one more operation has been finished and changes the "current" property accordingly.
|
A InfdProgressRequest. |
"current" property"current" guint : Read
The current number of finished operations.
Default value: 0